diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-05 12:23:40 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-05 12:23:40 +0000 |
commit | b88ffc10d646da1df436c4fb87604b9abcee0d7b (patch) | |
tree | 4817b4b4da840a88d9fc737b68037dd5beb14bb8 | |
parent | 84a0f2305c73598c7e37a25477ea260e91051475 (diff) | |
download | elgg-b88ffc10d646da1df436c4fb87604b9abcee0d7b.tar.gz elgg-b88ffc10d646da1df436c4fb87604b9abcee0d7b.tar.bz2 |
Refs #2676 removes old elgg_system_messages() function
git-svn-id: http://code.elgg.org/elgg/trunk@7841 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | js/lib/ui.js | 2 | ||||
-rw-r--r-- | views/default/js/elgg.php | 20 |
2 files changed, 1 insertions, 21 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js index fff13c800..389986d53 100644 --- a/js/lib/ui.js +++ b/js/lib/ui.js @@ -6,7 +6,7 @@ elgg.ui.init = function () { $(this).stop().fadeOut('fast'); }); - $('.elgg-system-messages li').animate({opacity: 0.9}, 5000); + $('.elgg-system-messages li').animate({opacity: 0.9}, 6000); $('.elgg-system-messages li').fadeOut('slow'); $('.elgg-toggle').live('click', elgg.ui.toggle); diff --git a/views/default/js/elgg.php b/views/default/js/elgg.php index 3a6e0c814..1bf7574bd 100644 --- a/views/default/js/elgg.php +++ b/views/default/js/elgg.php @@ -63,26 +63,6 @@ $(function() { elgg.trigger_event('init', 'system'); }); -$(document).ready(function () { - - elgg_system_message(); - -}); /* end document ready function */ - - - -// display & hide elgg system messages -function elgg_system_message() { - $('.elgg-system-messages li').animate({opacity: 0.9}, 1000); - $('.elgg-system-messages li').animate({opacity: 0.9}, 5000); - $('.elgg-system-messages li').fadeOut('slow'); - - $('.elgg-system-messages li').click(function() { - $('.elgg-system-messages li').stop(); - $('.elgg-system-messages li').fadeOut('slow'); - return false; - }); -} // reusable slide in/out toggle function function elgg_slide_toggle(activateLink, parentElement, toggleElement) { |