diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-07-02 20:22:09 +0300 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-07-02 20:22:09 +0300 |
commit | 42a408894378c551d9e1199f7960ca834f7c8a47 (patch) | |
tree | 51b6eb400f7e6dff7e4ee1e9db75aae7eb0bd6ac /js/makegrid.js | |
parent | 30418f37a3299c0d7105ed0dea40e895698aae22 (diff) |
More local variables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/makegrid.js')
-rw-r--r-- | js/makegrid.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/makegrid.js b/js/makegrid.js index 46b147883c..56ba25f770 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -1347,7 +1347,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi var tools = $result_query.find('.tools').wrap('<p>').parent().html(); // sqlOuter and tools will not be present if 'Show SQL queries' configuration is off if (typeof sqlOuter != 'undefined' && typeof tools != 'undefined') { - $existing_query = $(g.o).find('.result_query'); + var $existing_query = $(g.o).find('.result_query'); // If two query box exists update query in second else add a second box if ($existing_query.find('div.sqlOuter').length > 1) { $existing_query.children(":nth-child(4)").remove(); |