Noticed a bug in the dialog close buttons. The html was not destroyed
after closing, so added a .remove() call everywhere.
This commit is contained in:
@@ -34,9 +34,9 @@ $(document).ready(function() {
|
||||
width: 900,
|
||||
buttons : {
|
||||
"Create Table" : function() {
|
||||
//handle form here
|
||||
$('#create_table_form').trigger("submit");
|
||||
},
|
||||
"Cancel" : function() {$(this).dialog('close');}
|
||||
"Cancel" : function() {$(this).dialog('close').remove() ;}
|
||||
}
|
||||
});
|
||||
})
|
||||
@@ -63,7 +63,7 @@ $(document).ready(function() {
|
||||
window.parent.refreshMain();
|
||||
},
|
||||
"No" : function() {
|
||||
$(this).dialog("close");
|
||||
$(this).dialog("close").remove();
|
||||
}
|
||||
}
|
||||
}) //end dialog options
|
||||
|
Reference in New Issue
Block a user