diff options
author | Steve Clay <steve@mrclay.org> | 2012-11-26 16:28:07 -0500 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2012-11-26 16:28:07 -0500 |
commit | 1965e4d3642e3e8bcf53c83a85aa79765541a50e (patch) | |
tree | 12240e18b9f2df7ec97e05f32c46d2a89b39824d /views/default/js/admin.php | |
parent | 6c4e75b19ddadaadac9bc78423a837045fa90b15 (diff) | |
download | elgg-1965e4d3642e3e8bcf53c83a85aa79765541a50e.tar.gz elgg-1965e4d3642e3e8bcf53c83a85aa79765541a50e.tar.bz2 |
JS views: enable syntax highlighting and add missing semicolons
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 |