diff --git a/js/tbl_structure.js b/js/tbl_structure.js index 7f07855a7..693442e7b 100644 --- a/js/tbl_structure.js +++ b/js/tbl_structure.js @@ -17,7 +17,7 @@ * */ $(document).ready(function() { - //Drop Column + /** * Attach Event Handler for 'Drop Column' * @@ -60,14 +60,13 @@ $(document).ready(function() { }); // end $.PMA_confirm() }) ; //end of Drop Column Anchor action - //Add Primary Key /** * Ajax Event handler for 'Add Primary Key' * * @uses $.PMA_confirm() * @uses PMA_ajaxShowMessage() */ - $(".add_primary_key_anchor").live('click', function(event) { + $(".action_primary a").live('click', function(event) { event.preventDefault(); /** diff --git a/tbl_structure.php b/tbl_structure.php index 46ba95ad1..c8e59d83d 100755 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -479,8 +479,7 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) { - +