diff --git a/js/functions.js b/js/functions.js index c08dbf2f6d..7c76b0fc25 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1836,12 +1836,12 @@ $(document).ready(function() { }, 'top.frame_content'); //end $(document).ready for 'Create Table' /** - * jQuery coding for 'Change Table'. Used on tbl_structure.php * + * jQuery coding for 'Change Table' and 'Add Column'. Used on tbl_structure.php * * Attach Ajax Event handlers for Change Table */ $(document).ready(function() { /** - *Ajax action for submitting the column change form + *Ajax action for submitting the "Column Change" and "Add Column" form **/ $("#append_fields_form input[name=do_save_data]").live('click', function(event) { event.preventDefault(); diff --git a/js/tbl_structure.js b/js/tbl_structure.js index 0d2f051c01..a453e3281c 100644 --- a/js/tbl_structure.js +++ b/js/tbl_structure.js @@ -389,7 +389,10 @@ $(document).ready(function() { //Remove the top menu container from the dialog .find("#topmenucontainer").hide() ; // end dialog options + $div = $("#add_columns"); + /*changed the z-index of the enum editor to allow the edit*/ + $("#enum_editor").css("z-index", "1100"); PMA_convertFootnotesToTooltips($div); } PMA_ajaxRemoveMessage($msgbox);