diff options
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])) { |