bug #3305883 [interface] Table is dropped regardless of confirmation
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
- patch #3303813 [setup] Define a label that was missing
|
- patch #3303813 [setup] Define a label that was missing
|
||||||
- bug #3305606 [interface] Show all button wraps on privileges page
|
- bug #3305606 [interface] Show all button wraps on privileges page
|
||||||
- bug #3305517 [config] Config for export compression not used
|
- bug #3305517 [config] Config for export compression not used
|
||||||
|
- bug #3305883 [interface] Table is dropped regardless of confirmation
|
||||||
|
|
||||||
3.4.1.0 (2011-05-20)
|
3.4.1.0 (2011-05-20)
|
||||||
- bug #3301108 [interface] Synchronize and already configured host
|
- bug #3301108 [interface] Synchronize and already configured host
|
||||||
|
@@ -263,10 +263,15 @@ $(document).ready(function() {
|
|||||||
*/
|
*/
|
||||||
$("#sqlqueryform.ajax").live('submit', function(event) {
|
$("#sqlqueryform.ajax").live('submit', function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
|
$form = $(this);
|
||||||
|
if (! checkSqlQuery($form[0])) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// remove any div containing a previous error message
|
// remove any div containing a previous error message
|
||||||
$('.error').remove();
|
$('.error').remove();
|
||||||
|
|
||||||
$form = $(this);
|
|
||||||
var $msgbox = PMA_ajaxShowMessage();
|
var $msgbox = PMA_ajaxShowMessage();
|
||||||
|
|
||||||
PMA_prepareForAjaxRequest($form);
|
PMA_prepareForAjaxRequest($form);
|
||||||
|
@@ -119,8 +119,7 @@ function PMA_sqlQueryForm($query = true, $display_tab = false, $delimiter = ';')
|
|||||||
if ($GLOBALS['cfg']['AjaxEnable']) {
|
if ($GLOBALS['cfg']['AjaxEnable']) {
|
||||||
echo ' class="ajax"';
|
echo ' class="ajax"';
|
||||||
}
|
}
|
||||||
echo ' id="sqlqueryform"'
|
echo ' id="sqlqueryform" name="sqlform">' . "\n";
|
||||||
.' onsubmit="return checkSqlQuery(this)" name="sqlform">' . "\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($is_querywindow) {
|
if ($is_querywindow) {
|
||||||
|
Reference in New Issue
Block a user