function _username_check_mail_load_resources in Username originality AJAX check 7
1 call to _username_check_mail_load_resources()
File
- ./
username_check.module, line 105 - Checks user name availability on registration page.
Code
function _username_check_mail_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_mail.js');
drupal_add_js(array(
'mailCheck' => array(
'ajaxUrl' => url('username_check/isuniquemail', array(
'absolute' => TRUE,
)),
'delay' => variable_get('username_check_delay', 1),
),
), 'setting');
}