Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2011-11-28 17:47:06 +0400
committerRouslan Placella <rouslan@placella.com>2011-11-28 17:47:06 +0400
commit12eacbffea6b07045e619686aeab0b009c16d082 (patch)
tree136d0fed32485f69387816aa94afc5014d590859 /js/tbl_select.js
parent1621df60a1be1cc05c1b62f512f154973353345b (diff)
Error notifications should not time out
Diffstat (limited to 'js/tbl_select.js')
-rw-r--r--js/tbl_select.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/js/tbl_select.js b/js/tbl_select.js
index 03d611af1d..acd8b1f6ff 100644
--- a/js/tbl_select.js
+++ b/js/tbl_select.js
@@ -58,11 +58,12 @@ $(document).ready(function() {
// empty previous search results while we are waiting for new results
$("#sqlqueryresults").empty();
- var msgbox = PMA_ajaxShowMessage(PMA_messages['strSearching']);
+ var $msgbox = PMA_ajaxShowMessage(PMA_messages['strSearching'], false);
PMA_prepareForAjaxRequest($search_form);
$.post($search_form.attr('action'), $search_form.serialize(), function(response) {
+ PMA_ajaxRemoveMessage($msgbox);
if (typeof response == 'string') {
// found results
$("#sqlqueryresults").html(response);
@@ -83,10 +84,6 @@ $(document).ready(function() {
// error message (zero rows)
$("#sqlqueryresults").html(response['message']);
}
-
- msgbox.clearQueue().fadeOut('medium', function() {
- $(this).hide();
- });
}) // end $.post()
})