From ea28c2c55c689be25a2212dfbdffd840c88921aa Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 7 Feb 2011 05:10:11 +0000 Subject: Pulled elgg-icon and elgg-icon-* into the admin css. Pulled out profile field JS into elgg.admin obj. Fixed editing profile field names. git-svn-id: http://code.elgg.org/elgg/trunk@8061 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/admin.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engine') diff --git a/engine/lib/admin.php b/engine/lib/admin.php index 98247c962..cab6fe4e5 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -94,6 +94,7 @@ function admin_init() { elgg_register_action('profile/fields/reset', '', 'admin'); elgg_register_action('profile/fields/add', '', 'admin'); + elgg_register_action('profile/fields/edit', '', 'admin'); elgg_register_action('profile/fields/delete', '', 'admin'); elgg_register_action('profile/fields/reorder', '', 'admin'); @@ -180,6 +181,9 @@ function admin_settings_page_handler($page) { $url = elgg_view_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); + // default to dashboard if (!isset($page[0]) || empty($page[0])) { $page = array('dashboard'); -- cgit v1.2.3