After PK creation, did not obey the reload parameter received

This commit is contained in:
Marc Delisle
2010-10-31 16:42:24 -04:00
parent 1c9ec21792
commit 00d786e983

View File

@@ -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()
}) // end $(document).ready()