From e0f80088aae7fe13c410461fbf6e07c5fd41d1ef Mon Sep 17 00:00:00 2001 From: ninadsp Date: Mon, 12 Jul 2010 23:33:56 +0530 Subject: [PATCH] Fixed issue due to which the notifications div was visible even after clearing the message --- js/functions.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/js/functions.js b/js/functions.js index 26c2b677a..4b392af76 100755 --- a/js/functions.js +++ b/js/functions.js @@ -1764,8 +1764,9 @@ function PMA_ajaxShowMessage(message, timeout) { .slideDown('medium') .delay(to) .slideUp('medium', function(){ - $(this).hide() - .html(""); //Clear the message + $(this) + .html("") //Clear the message + .hide(); }); }, 'top.frame_content'); ajax_message_init = true; @@ -1776,8 +1777,9 @@ function PMA_ajaxShowMessage(message, timeout) { .slideDown('medium') .delay(to) .slideUp('medium', function() { - $(this).hide() - .html(""); + $(this) + .html("") + .hide(); }) } }