diff options
Diffstat (limited to 'mod/notifications')
-rw-r--r-- | mod/notifications/index.php | 2 | ||||
-rw-r--r-- | mod/notifications/views/default/notifications/subscriptions/forminternals.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/notifications/index.php b/mod/notifications/index.php index f970dfc32..30ee1b74b 100644 --- a/mod/notifications/index.php +++ b/mod/notifications/index.php @@ -14,7 +14,7 @@ gatekeeper(); set_page_owner(elgg_get_logged_in_user_guid()); $js_url = elgg_get_simplecache_url('js', 'friendsPickerv1'); -elgg_register_js($js_url, 'friendsPicker'); +elgg_register_js('friendsPicker', $js_url); // Set the context to settings elgg_set_context('settings'); diff --git a/mod/notifications/views/default/notifications/subscriptions/forminternals.php b/mod/notifications/views/default/notifications/subscriptions/forminternals.php index 936194842..fac8c083c 100644 --- a/mod/notifications/views/default/notifications/subscriptions/forminternals.php +++ b/mod/notifications/views/default/notifications/subscriptions/forminternals.php @@ -3,8 +3,8 @@ * Hacked up friends picker that needs to be replaced */ -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'); ?> <div class="elgg-module elgg-module-info"> |