diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-23 19:28:45 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-23 19:28:45 +0000 |
commit | 5ab1a4b33049e076104511ac9c5c0e6cb7cef033 (patch) | |
tree | 97f426a255ab3a5684513c96ccfa38ce7fdd1fac /engine/lib/admin.php | |
parent | 005eb7a06b0e743021d00226528a469270110ead (diff) | |
download | elgg-5ab1a4b33049e076104511ac9c5c0e6cb7cef033.tar.gz elgg-5ab1a4b33049e076104511ac9c5c0e6cb7cef033.tar.bz2 |
Simplify registration of jeditable library
git-svn-id: http://code.elgg.org/elgg/trunk@8450 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/admin.php')
-rw-r--r-- | engine/lib/admin.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php index 564c1225b..d4ebbdd0d 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -283,8 +283,7 @@ function admin_settings_page_handler($page) { $url = elgg_get_simplecache_url('js', 'admin'); elgg_register_js($url, 'admin'); - $url = elgg_get_site_url() . 'vendors/jquery/jquery.jeditable.mini.js'; - elgg_register_js($url); + elgg_register_js('vendors/jquery/jquery.jeditable.mini.js', 'jquery.jeditable'); // default to dashboard if (!isset($page[0]) || empty($page[0])) { |