We need to close the dialog when reloading the database after renaming

it.  The code did not do this, added it.
This commit is contained in:
ninadsp
2010-06-30 00:28:45 +05:30
parent b48033fbd6
commit 4f6339b6a4

View File

@@ -24,6 +24,7 @@ $(document).ready(function() {
var button_options = {}; var button_options = {};
button_options[PMA_messages['strYes']] = function() { button_options[PMA_messages['strYes']] = function() {
$(this).dialog("close").remove();
window.parent.refreshMain(); window.parent.refreshMain();
window.parent.refreshNavigation(); window.parent.refreshNavigation();
}; };