diff --git a/ChangeLog b/ChangeLog index 8e75172b89..74fb7910db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -77,6 +77,7 @@ phpMyAdmin - ChangeLog - [interface] When ShowTooltipAliasTB is true, VIEW is wrongly shown as the view name in main panel db Structure page - bug #3439292 [core] Fail to synchronize column with name of keyword +- bug #3425156 [interface] Add column after drop 3.4.7.1 (2011-11-10) - [security] Fixed possible local file inclusion in XML import diff --git a/js/tbl_structure.js b/js/tbl_structure.js index f02572f8ad..c49165a59a 100644 --- a/js/tbl_structure.js +++ b/js/tbl_structure.js @@ -40,6 +40,10 @@ $(document).ready(function() { * @var curr_column_name String containing name of the field referred to by {@link curr_row} */ var curr_column_name = $(curr_row).children('th').children('label').text(); + /** + * @var $after_field_item Corresponding entry in the 'After' field. + */ + var $after_field_item = $("select[name='after_field'] option[value='" + curr_column_name + "']"); /** * @var question String containing the question to be asked for confirmation */ @@ -52,6 +56,7 @@ $(document).ready(function() { $.get(url, {'is_js_confirmed' : 1, 'ajax_request' : true}, function(data) { if(data.success == true) { PMA_ajaxShowMessage(data.message); + $after_field_item.remove(); $(curr_row).hide("medium").remove(); } else {