diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-01 22:49:31 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-01 22:49:31 +0000 |
commit | af335c48fc3f4a741e7b5650db46aac48183c244 (patch) | |
tree | fd2b6803c2db773ef5a5be4127e3112a3cc51d79 /engine/js/lib/elgglib.js | |
parent | c3277515ae8ad8aea53e53562fef01d339fcdeb1 (diff) | |
download | elgg-af335c48fc3f4a741e7b5650db46aac48183c244.tar.gz elgg-af335c48fc3f4a741e7b5650db46aac48183c244.tar.bz2 |
Fixes #2318: Adjusted system message markup + styles to work with ajax actions
git-svn-id: http://code.elgg.org/elgg/trunk@7185 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/js/lib/elgglib.js')
-rw-r--r-- | engine/js/lib/elgglib.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/engine/js/lib/elgglib.js b/engine/js/lib/elgglib.js index 208c02716..5c32deaaf 100644 --- a/engine/js/lib/elgglib.js +++ b/engine/js/lib/elgglib.js @@ -144,14 +144,7 @@ elgg.system_messages = function(msgs, delay, type) { var messages_html = [];
for (var i in msgs) {
- messages_html.push('<div class="' + classes.join(' ') + '">'
- + '<span class="closeMessages">'
- + '<a href="#">'
- + elgg.echo('systemmessages:dismiss')
- + '</a>'
- + '</span>'
- + '<p>' + msgs[i] + '</p>'
- + '</div>');
+ messages_html.push('<div class="' + classes.join(' ') + '"><p>' + msgs[i] + '</p></div>');
}
$(messages_html.join('')).appendTo('#elgg_system_messages').animate({opacity:'1.0'},delay).fadeOut('slow');
|