diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-12 22:25:02 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-12 22:25:02 +0000 |
commit | bfb0a3e9b289e4036bfeb3e694586387fc4f904e (patch) | |
tree | 6beec05b6424702e036d67622db37ac6f8852a54 /mod/notifications | |
parent | 1bd696b3d8eb8175cc2b6583716fe3e89110aab0 (diff) | |
download | elgg-bfb0a3e9b289e4036bfeb3e694586387fc4f904e.tar.gz elgg-bfb0a3e9b289e4036bfeb3e694586387fc4f904e.tar.bz2 |
Fixes #3091 adds load functions for js and css
git-svn-id: http://code.elgg.org/elgg/trunk@8675 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/notifications')
-rw-r--r-- | mod/notifications/index.php | 3 | ||||
-rw-r--r-- | mod/notifications/views/default/notifications/subscriptions/forminternals.php | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/mod/notifications/index.php b/mod/notifications/index.php index 30ee1b74b..49c91fe0e 100644 --- a/mod/notifications/index.php +++ b/mod/notifications/index.php @@ -14,7 +14,8 @@ gatekeeper(); set_page_owner(elgg_get_logged_in_user_guid()); $js_url = elgg_get_simplecache_url('js', 'friendsPickerv1'); -elgg_register_js('friendsPicker', $js_url); +elgg_register_js('friendsPickerv1', $js_url); +elgg_load_js('friendsPickerv1'); // 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 fac8c083c..6731c59e3 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('elgg.friendspicker', 'js/lib/friends_picker.js'); -elgg_register_js('jquery.easing', 'vendors/jquery/jquery.easing.1.3.packed.js'); +elgg_load_js('elgg.friendspicker'); +elgg_load_js('jquery.easing'); ?> <div class="elgg-module elgg-module-info"> |