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 /engine/lib/admin.php | |
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 'engine/lib/admin.php')
-rw-r--r-- | engine/lib/admin.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php index 104b362a9..8ef01e7cc 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -285,6 +285,7 @@ function admin_pagesetup() { if (elgg_in_context('admin')) { $url = elgg_get_simplecache_url('css', 'admin'); elgg_register_css('elgg.admin', $url); + elgg_load_css('elgg.admin'); elgg_unregister_css('elgg'); // setup footer menu @@ -330,8 +331,10 @@ function admin_settings_page_handler($page) { elgg_unregister_css('elgg'); $url = elgg_get_simplecache_url('js', 'admin'); elgg_register_js('elgg.admin', $url); + elgg_load_js('elgg.admin'); elgg_register_js('jquery.jeditable', 'vendors/jquery/jquery.jeditable.mini.js'); + elgg_load_js('jquery.jeditable'); // default to dashboard if (!isset($page[0]) || empty($page[0])) { |