refresh navi frame after table creation in a non-empty db; also refresh after table drop via drop link
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user