From 5288a55b9803c1b8fbb0fc580661ff5b2b46ac1e Mon Sep 17 00:00:00 2001 From: Thilanka Kaushalya Date: Fri, 22 Jul 2011 07:40:14 +0530 Subject: [PATCH] Fixed issues of Add Columns --- js/functions.js | 4 ++-- js/tbl_structure.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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);