The branch, master has been updated
via c3e75e96a9c2b19f1abed2c321b355ee25a0809b (commit)
from 8dee199672f16db79795ef208a85f6d93506c005 (commit)
- Log -----------------------------------------------------------------
commit c3e75e96a9c2b19f1abed2c321b355ee25a0809b
Author: Marc Delisle <marc(a)infomarc.info>
Date: Sun Feb 20 07:58:40 2011 -0500
The create table dialog popup is not always displayed so do not attempt to remove it
-----------------------------------------------------------------------
Summary of changes:
js/functions.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/js/functions.js b/js/functions.js
index 328c558..6233ce4 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -1753,7 +1753,10 @@ $(document).ready(function() {
if(data.success == true) {
$('#properties_message').html('');
PMA_ajaxShowMessage(data.message);
- $("#create_table_dialog").dialog("close").remove();
+ // Only if the create table dialog (distinct panel) exists
+ if ($("#create_table_dialog").length > 0) {
+
$("#create_table_dialog").dialog("close").remove();
+ }
/**
* @var tables_table Object referring to the <tbody> element
that holds the list of tables
hooks/post-receive
--
phpMyAdmin
Show replies by date