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:
@@ -1798,14 +1798,14 @@ jQuery.fn.PMA_confirm = function(question, url, callbackFn) {
|
||||
.prepend(question)
|
||||
.dialog({
|
||||
buttons: {"OK": function(){
|
||||
$(this).dialog("close");
|
||||
$(this).dialog("close").remove();
|
||||
|
||||
if($.isFunction(callbackFn)) {
|
||||
callbackFn.call(this, url);
|
||||
}
|
||||
},
|
||||
"Cancel": function(){
|
||||
$(this).dialog("close");
|
||||
$(this).dialog("close").remove();
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -1935,4 +1935,4 @@ $(document).ready(function() {
|
||||
})
|
||||
})
|
||||
|
||||
}, 'top.frame_content'); //end $(document).ready()
|
||||
}, 'top.frame_content'); //end $(document).ready() for db_structure.php
|
Reference in New Issue
Block a user