function _username_check_profile_load_resources in Username originality AJAX check 7
1 call to _username_check_profile_load_resources()
File
- ./
username_check.module, line 90 - Checks user name availability on registration page.
Code
function _username_check_profile_load_resources($mode) {
$module_path = drupal_get_path('module', 'username_check');
drupal_add_css($module_path . '/username_check.css');
drupal_add_js($module_path . '/username_check_profile.js');
drupal_add_js(array(
'profileCheck' => array(
'ajaxUrl' => url('username_check/isuniqueprofile', array(
'absolute' => TRUE,
)),
'delay' => variable_get('username_check_delay', 1),
),
), 'setting');
}