From a1e97024343ca8006cb91f3203d40c49dd4e348a Mon Sep 17 00:00:00 2001 From: ninadsp Date: Mon, 12 Jul 2010 23:49:27 +0530 Subject: [PATCH] Fixed issue due to which the notifications div was visible even after clearing the message --- js/functions.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/functions.js b/js/functions.js index 4b392af76..ed1d52dca 100755 --- a/js/functions.js +++ b/js/functions.js @@ -1742,6 +1742,11 @@ function PMA_ajaxInsertResponse(divisions_map) { function PMA_ajaxShowMessage(message, timeout) { + //Handle the case when a empty data.message is passed. We don't want the empty message + if(message = '') { + return true; + } + if(!message) { var msg = PMA_messages['strLoading']; }