[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_4, updated. RELEASE_3_4_7_1-32-ge7877fb

Madhura Jayaratne madhuracj at users.sourceforge.net
Sun Nov 20 19:04:42 CET 2011


The branch, QA_3_4 has been updated
       via  e7877fba46743be0b351c526ccac216731ab8c1e (commit)
      from  81f6766f962d6cea3742f3936032d234e6ce9d53 (commit)


- Log -----------------------------------------------------------------
commit e7877fba46743be0b351c526ccac216731ab8c1e
Author: Madhura Jayaratne <madhura.cj at gmail.com>
Date:   Sun Nov 20 23:30:30 2011 +0530

    bug #3425156 [interface] Add column after drop

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |    1 +
 js/tbl_structure.js |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6bbc4e6..7d5cf3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,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 493f0eb..97ec6c2 100644
--- a/js/tbl_structure.js
+++ b/js/tbl_structure.js
@@ -42,6 +42,10 @@ $(document).ready(function() {
          */
         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
          */
         var question = PMA_messages['strDoYouReally'] + ' :\n ALTER TABLE `' + escapeHtml(curr_table_name) + '` DROP `' + escapeHtml(curr_column_name) + '`';
@@ -53,6 +57,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 {


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list