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
path: root/js
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2012-05-02 19:11:52 +0400
committerMarc Delisle <marc@infomarc.info>2012-05-02 19:11:52 +0400
commitc888fe462af99e4da77e7fe7561ade883449ad22 (patch)
treef53e4eedab58119b4fc3a383fe5e88b7f1f1d69e /js
parent8147dee382229a25223e1f7efa1f4437f246b560 (diff)
Message is shown too early
Diffstat (limited to 'js')
-rw-r--r--js/sql.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/sql.js b/js/sql.js
index e62a3ee422..28d9b0169a 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -282,8 +282,6 @@ $(document).ready(function() {
/** @lends jQuery */
event.preventDefault();
- var $msgbox = PMA_ajaxShowMessage();
-
/**
* @var $form Object referring to the form element that paginates the results table
*/
@@ -299,6 +297,7 @@ $(document).ready(function() {
'pos',
PMA_messages['strNotValidRowNumber'], 0)) {
+ var $msgbox = PMA_ajaxShowMessage();
PMA_prepareForAjaxRequest($form);
$.post($form.attr('action'), $form.serialize(), function(data) {