Active
Project:
Ajax Login/Register
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2011 at 12:33 UTC
Updated:
6 Jul 2011 at 12:33 UTC
Missing base url in function ajax_register_init()
$path = 'var tb_pathToImage ="'. $GLOBALS['base_url'] .'/'. drupal_get_path('module', 'ajax_register') .'/images/loading.gif";';
Base url also available in JavaScript environment, somwhere in the Drupal.settings.