aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/js/admin.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/views/default/js/admin.php b/views/default/js/admin.php
index a11f51e66..15c74d4de 100644
--- a/views/default/js/admin.php
+++ b/views/default/js/admin.php
@@ -8,6 +8,14 @@
elgg.provide('elgg.admin');
elgg.admin.init = function () {
+
+ // system messages do not fade in admin area, instead slide up when clicked
+ $('.elgg-system-messages li').stop(true);
+ $('.elgg-system-messages li').die('click');
+ $('.elgg-system-messages li').live('click', function() {
+ $(this).stop().slideUp('medium');
+ });
+
// plugin screenshot modal
$('.elgg-plugin-screenshot a').click(elgg.admin.displayPluginScreenshot);
@@ -138,4 +146,4 @@ elgg.admin.moveProfileField = function(e, ui) {
});
}
-elgg.register_event_handler('init', 'system', elgg.admin.init); \ No newline at end of file
+elgg.register_event_handler('init', 'system', elgg.admin.init, 1000); \ No newline at end of file