The branch, master has been updated via 00d786e9833b89ac9e865ed5bc972196f8259cca (commit) from 1c9ec217920f5d463637b9aa9a9f0ea640b7b317 (commit)
- Log ----------------------------------------------------------------- commit 00d786e9833b89ac9e865ed5bc972196f8259cca Author: Marc Delisle marc@infomarc.info Date: Sun Oct 31 16:42:24 2010 -0400
After PK creation, did not obey the reload parameter received
-----------------------------------------------------------------------
Summary of changes: js/tbl_structure.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/js/tbl_structure.js b/js/tbl_structure.js index 693442e..40397c1 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()
hooks/post-receive