After PK creation, did not obey the reload parameter received
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||||
/**
|
/**
|
||||||
* @fileoverview functions used on the table structure page
|
* @fileoverview functions used on the table structure page
|
||||||
* @name Table Structure
|
* @name Table Structure
|
||||||
@@ -90,6 +91,9 @@ $(document).ready(function() {
|
|||||||
if(data.success == true) {
|
if(data.success == true) {
|
||||||
PMA_ajaxShowMessage(data.message);
|
PMA_ajaxShowMessage(data.message);
|
||||||
$(this).remove();
|
$(this).remove();
|
||||||
|
if (typeof data.reload != 'undefined') {
|
||||||
|
window.parent.frame_content.location.reload();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PMA_ajaxShowMessage(PMA_messages['strErrorProcessingRequest'] + " : " + data.error);
|
PMA_ajaxShowMessage(PMA_messages['strErrorProcessingRequest'] + " : " + data.error);
|
||||||
@@ -130,4 +134,4 @@ $(document).ready(function() {
|
|||||||
}) // end $.PMA_confirm()
|
}) // end $.PMA_confirm()
|
||||||
}) //end Drop Primary Key/Index
|
}) //end Drop Primary Key/Index
|
||||||
|
|
||||||
}) // end $(document).ready()
|
}) // end $(document).ready()
|
||||||
|
Reference in New Issue
Block a user