Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -274,6 +274,8 @@ $(document).ready(function() {
|
|||||||
$('#sqlqueryresults').show();
|
$('#sqlqueryresults').show();
|
||||||
// this happens if a USE command was typed
|
// this happens if a USE command was typed
|
||||||
if (typeof data.reload != 'undefined') {
|
if (typeof data.reload != 'undefined') {
|
||||||
|
// Unbind the submit event before reloading. See bug #3295529
|
||||||
|
$("#sqlqueryform.ajax").die('submit');
|
||||||
$form.find('input[name=db]').val(data.db);
|
$form.find('input[name=db]').val(data.db);
|
||||||
// need to regenerate the whole upper part
|
// need to regenerate the whole upper part
|
||||||
$form.find('input[name=ajax_request]').remove();
|
$form.find('input[name=ajax_request]').remove();
|
||||||
|
Reference in New Issue
Block a user