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:
authorMarc Delisle <marc@infomarc.info>2012-02-01 20:40:46 +0400
committerMarc Delisle <marc@infomarc.info>2012-02-01 20:40:46 +0400
commitaa8eb9360b768d0056a096eff969f72e98785ed6 (patch)
tree3294301336b09666d0879690934664d67280616b /js/tbl_select.js
parenta952ee531ab944bd19f0cb073a41d78a83001285 (diff)
bug #3482734 [interface] No warning on syntax error in search form
Diffstat (limited to 'js/tbl_select.js')
-rw-r--r--js/tbl_select.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/js/tbl_select.js b/js/tbl_select.js
index ac700f0b9a..ba144959a4 100644
--- a/js/tbl_select.js
+++ b/js/tbl_select.js
@@ -73,7 +73,13 @@ $(document).ready(function() {
PMA_init_slider();
} else {
// error message (zero rows)
- $("#sqlqueryresults").html(response['message']);
+ if (response.message != undefined) {
+ $("#sqlqueryresults").html(response['message']);
+ }
+ // other error (syntax error?)
+ if (response.error != undefined) {
+ $("#sqlqueryresults").html(response['error']);
+ }
}
}) // end $.post()
})