The create table dialog popup is not always displayed so do not attempt to remove it
This commit is contained in:
@@ -1753,7 +1753,10 @@ $(document).ready(function() {
|
|||||||
if(data.success == true) {
|
if(data.success == true) {
|
||||||
$('#properties_message').html('');
|
$('#properties_message').html('');
|
||||||
PMA_ajaxShowMessage(data.message);
|
PMA_ajaxShowMessage(data.message);
|
||||||
|
// Only if the create table dialog (distinct panel) exists
|
||||||
|
if ($("#create_table_dialog").length > 0) {
|
||||||
$("#create_table_dialog").dialog("close").remove();
|
$("#create_table_dialog").dialog("close").remove();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var tables_table Object referring to the <tbody> element that holds the list of tables
|
* @var tables_table Object referring to the <tbody> element that holds the list of tables
|
||||||
|
Reference in New Issue
Block a user