refresh navi frame after table creation in a non-empty db; also refresh after table drop via drop link

This commit is contained in:
Marc Delisle
2010-10-09 10:23:06 -04:00
parent 1406bd83b0
commit e3e0b2ef99
2 changed files with 11 additions and 4 deletions

View File

@@ -93,6 +93,10 @@ $(document).ready(function() {
PMA_ajaxShowMessage(data.message);
//need to find a better solution here. The icon should be replaced
$(curr_row).hide("medium").remove();
if (window.parent && window.parent.frame_navigation) {
window.parent.frame_navigation.location.reload();
}
}
else {
PMA_ajaxShowMessage(PMA_messages['strErrorProcessingRequest'] + " : " + data.error);
@@ -221,4 +225,4 @@ $(document).ready(function() {
return false;
}) //end Calculate Real End for InnoDB
}, 'top.frame_content'); // end $(document).ready()
}, 'top.frame_content'); // end $(document).ready()