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/sql.js
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2014-11-28 10:21:30 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2014-11-28 10:21:30 +0300
commitd21f37b3f1acae457aa027c5763feb8b3cb8df0d (patch)
tree7b5d213860aa35414307f84641f3fafda0a3b95c /js/sql.js
parentfc611618832ebf3914d42a133fe325d0d97619df (diff)
Use class to identify bookmarkQueryForm
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/sql.js')
-rw-r--r--js/sql.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/sql.js b/js/sql.js
index a2844ca596..75f51aa391 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -85,7 +85,7 @@ function getFieldName($table_results, $this_field)
*/
AJAX.registerTeardown('sql.js', function () {
$('a.delete_row.ajax').die('click');
- $('#bookmarkQueryForm').die('submit');
+ $('.bookmarkQueryForm').die('submit');
$('input#bkm_label').unbind('keyup');
$("#sqlqueryresults").die('makegrid');
$("#sqlqueryresults").die('stickycolumns');
@@ -143,7 +143,7 @@ AJAX.registerOnload('sql.js', function () {
});
// Ajaxification for 'Bookmark this SQL query'
- $('#bookmarkQueryForm').live('submit', function (e) {
+ $('.bookmarkQueryForm').live('submit', function (e) {
e.preventDefault();
PMA_ajaxShowMessage();
$.post($(this).attr('action'), 'ajax_request=1&' + $(this).serialize(), function (data) {