From d4cab20408bcfa394ca978a16e09e6fd84539350 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 12 Mar 2011 20:08:44 +0000 Subject: Refs #3091 rewrote the js and css register functions to require a name git-svn-id: http://code.elgg.org/elgg/trunk@8668 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/notifications/index.php | 2 +- .../views/default/notifications/subscriptions/forminternals.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/notifications') 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'); ?>
-- cgit v1.2.3