The branch, master has been updated via 8cf1e880f5972e09134fc6dedfb2373ae004bfe6 (commit) from b95179c99c9af8873e231e20b89e4e7c7cc82d8e (commit)
- Log ----------------------------------------------------------------- commit 8cf1e880f5972e09134fc6dedfb2373ae004bfe6 Author: Marc Delisle marc@infomarc.info Date: Sat Sep 25 13:57:33 2010 -0400
bug #3058102 AJAX and adding a column
-----------------------------------------------------------------------
Summary of changes: js/functions.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/js/functions.js b/js/functions.js index bd3a2b8..292e544 100644 --- a/js/functions.js +++ b/js/functions.js @@ -2040,8 +2040,12 @@ $(document).ready(function() { * @uses PMA_ajaxShowMessage() * @uses $.PMA_sort_table() * @uses window.parent.refreshNavigation() + * + * The create_table_form whose action is tbl_create.php is the + * one which is ajaxified; in this form the action could be + * tbl_addfield.php but it's not ajaxified yet. */ - $("#create_table_form").find("input[name=submit_num_fields], input[name=do_save_data]").live('click', function(event) { + $("#create_table_form").attr('action').is('tbl_create.php').find("input[name=submit_num_fields], input[name=do_save_data]").live('click', function(event) { event.preventDefault();
/**
hooks/post-receive