diff options
Diffstat (limited to 'views/default/input')
-rw-r--r-- | views/default/input/autocomplete.php | 2 | ||||
-rw-r--r-- | views/default/input/friendspicker.php | 4 | ||||
-rw-r--r-- | views/default/input/userpicker.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/views/default/input/autocomplete.php b/views/default/input/autocomplete.php index 61f338611..212333141 100644 --- a/views/default/input/autocomplete.php +++ b/views/default/input/autocomplete.php @@ -29,7 +29,7 @@ $ac_url_params = http_build_query(array( unset($vars['match_on']); unset($vars['match_owner']); -elgg_register_js('js/lib/autocomplete.js', 'autocomplete', 'head'); +elgg_register_js('elgg.autocomplete', 'js/lib/autocomplete.js'); ?> diff --git a/views/default/input/friendspicker.php b/views/default/input/friendspicker.php index 82ef3e3d7..b5f347e0c 100644 --- a/views/default/input/friendspicker.php +++ b/views/default/input/friendspicker.php @@ -11,8 +11,8 @@ * @uses $vars['entities'] The array of ElggUser objects */ -elgg_register_js('js/lib/friends_picker.js', 'friendspicker', 'head'); -elgg_register_js('vendors/jquery/jquery.easing.1.3.packed.js', 'jquery.easing'); +elgg_register_js('elgg.friendspicker', 'js/lib/friends_picker.js'); +elgg_register_js('jquery.easing', 'vendors/jquery/jquery.easing.1.3.packed.js'); $chararray = elgg_echo('friendspicker:chararray'); diff --git a/views/default/input/userpicker.php b/views/default/input/userpicker.php index 77a51f37c..8280305b0 100644 --- a/views/default/input/userpicker.php +++ b/views/default/input/userpicker.php @@ -18,7 +18,7 @@ * */ -elgg_register_js('js/lib/userpicker.js', 'userpicker', 'head'); +elgg_register_js('elgg.userpicker', 'js/lib/userpicker.js'); function user_picker_add_user($user_id) { $user = get_entity($user_id); |