Fix bug#4059: Running delete query asks for confirmation but says it was already executed
This commit is contained in:
parent
f0b2f264e1
commit
c2f48525dc
@ -10,6 +10,7 @@ phpMyAdmin - ChangeLog
|
||||
- bug #4129 Unneeded navi panel refresh
|
||||
- bug #4120 SSL redirects to port 80
|
||||
- bug #4144 DROP DATABASE displays wrong database name
|
||||
- bug #4059 Running delete query asks for confirmation but says it was already executed
|
||||
|
||||
4.0.8.0 (2013-10-06)
|
||||
- bug #3988 Rename view is not working
|
||||
|
||||
@ -1384,7 +1384,11 @@ AJAX.registerOnload('functions.js', function() {
|
||||
var $fake_form = $('<form>', {action: 'import.php', method: 'post'})
|
||||
.append($form.find("input[name=server], input[name=db], input[name=table], input[name=token]").clone())
|
||||
.append($('<input/>', {type: 'hidden', name: 'show_query', value: 1}))
|
||||
.append($('<input/>', {type: 'hidden', name: 'is_js_confirmed', value: 0}))
|
||||
.append($('<input/>', {type: 'hidden', name: 'sql_query', value: sql_query}));
|
||||
if (! checkSqlQuery($fake_form[0])) {
|
||||
return false;
|
||||
}
|
||||
$fake_form.appendTo($('body')).submit();
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user