diff options
author | Steve Clay <steve@mrclay.org> | 2012-11-26 16:28:52 -0500 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2012-11-26 16:28:52 -0500 |
commit | de8c85e5d53cfcc7b9ae52ce2f481cff499ae915 (patch) | |
tree | 12240e18b9f2df7ec97e05f32c46d2a89b39824d /views/default/js/admin.php | |
parent | 19c6da97ed0178592b9041946f3463f9008dd7ea (diff) | |
parent | 1965e4d3642e3e8bcf53c83a85aa79765541a50e (diff) | |
download | elgg-de8c85e5d53cfcc7b9ae52ce2f481cff499ae915.tar.gz elgg-de8c85e5d53cfcc7b9ae52ce2f481cff499ae915.tar.bz2 |
Merge branch 'pr-445' into 1.8
Diffstat (limited to 'views/default/js/admin.php')
-rw-r--r-- | views/default/js/admin.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/views/default/js/admin.php b/views/default/js/admin.php index 5cefba512..e8aa0d2ed 100644 --- a/views/default/js/admin.php +++ b/views/default/js/admin.php @@ -4,8 +4,9 @@ * * @since 1.8 */ + +if (0) { ?><script><?php } ?> -//<script> elgg.provide('elgg.admin'); elgg.admin.init = function () { @@ -47,7 +48,7 @@ elgg.admin.init = function () { // admin notices delete ajax $('a.elgg-admin-notice').click(elgg.admin.deleteNotice); -} +}; /** * Save the plugin order after a move event. @@ -88,7 +89,7 @@ elgg.admin.editProfileField = function(value, settings) { elgg.action('profile/fields/edit', data); return value; -} +}; /** * Save the plugin profile order after a move event. @@ -104,7 +105,7 @@ elgg.admin.moveProfileField = function(e, ui) { elgg.action('profile/fields/reorder', { fieldorder: orderStr }); -} +}; /** * Fires the ajax action to delete the admin notice then hides the notice. @@ -120,6 +121,6 @@ elgg.admin.deleteNotice = function(e) { $container.slideUp('medium'); } }); -} +}; elgg.register_hook_handler('init', 'system', elgg.admin.init, 1000);
\ No newline at end of file |