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/pmd
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-06-15 10:32:33 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-06-15 10:32:33 +0300
commitd482f096fe50ea709b7c528e939ad30d39a55409 (patch)
tree150705abb9c4e91b2dfb0db11c0e307c658af9fe /js/pmd
parent78cbe1ca88a8ebd8c07fa7358c64f73dfebd5841 (diff)
Use jQuery selectors here
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/pmd')
-rw-r--r--js/pmd/history.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/pmd/history.js b/js/pmd/history.js
index ca6d70023a..8570d7d29e 100644
--- a/js/pmd/history.js
+++ b/js/pmd/history.js
@@ -755,7 +755,6 @@ function build_query(formtitle, fadin)
if (query_groupby() !== "") { q_select += "\nGROUP BY " + query_groupby(); }
if (query_having() !== "") { q_select += "\nHAVING " + query_having(); }
if (query_orderby() !== "") { q_select += "\nORDER BY " + query_orderby(); }
- var box = document.getElementById('box');
/**
* @var button_options Object containing options
@@ -774,7 +773,7 @@ function build_query(formtitle, fadin)
$('#vqb_form').submit();
};
- var $ajaxDialog = $(box).dialog({
+ var $ajaxDialog = $('#box').dialog({
width: 500,
buttons: button_options,
modal: true,