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:
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) {