Removed the inline call to confirmLink() and instead attached the jQuery call to it. jQuery call attached to the proper class

This commit is contained in:
ninadsp
2010-08-26 20:20:51 +05:30
parent 43c18c50b8
commit f1e72d7664
2 changed files with 3 additions and 5 deletions

View File

@@ -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();
/**