diff --git a/js/tbl_structure.js b/js/tbl_structure.js index 693442e7b..40397c1d6 100644 --- a/js/tbl_structure.js +++ b/js/tbl_structure.js @@ -1,3 +1,4 @@ +/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview functions used on the table structure page * @name Table Structure @@ -90,6 +91,9 @@ $(document).ready(function() { if(data.success == true) { PMA_ajaxShowMessage(data.message); $(this).remove(); + if (typeof data.reload != 'undefined') { + window.parent.frame_content.location.reload(); + } } else { PMA_ajaxShowMessage(PMA_messages['strErrorProcessingRequest'] + " : " + data.error); @@ -130,4 +134,4 @@ $(document).ready(function() { }) // end $.PMA_confirm() }) //end Drop Primary Key/Index -}) // end $(document).ready() \ No newline at end of file +}) // end $(document).ready()