Fixed issue due to which the notifications div was visible even after clearing the message

This commit is contained in:
ninadsp
2010-07-12 23:33:56 +05:30
parent 7d3245cbcd
commit e0f80088aa

View File

@@ -1764,8 +1764,9 @@ function PMA_ajaxShowMessage(message, timeout) {
.slideDown('medium') .slideDown('medium')
.delay(to) .delay(to)
.slideUp('medium', function(){ .slideUp('medium', function(){
$(this).hide() $(this)
.html(""); //Clear the message .html("") //Clear the message
.hide();
}); });
}, 'top.frame_content'); }, 'top.frame_content');
ajax_message_init = true; ajax_message_init = true;
@@ -1776,8 +1777,9 @@ function PMA_ajaxShowMessage(message, timeout) {
.slideDown('medium') .slideDown('medium')
.delay(to) .delay(to)
.slideUp('medium', function() { .slideUp('medium', function() {
$(this).hide() $(this)
.html(""); .html("")
.hide();
}) })
} }
} }