bug #3425156 [interface] Add column after drop
This commit is contained in:
@@ -17,6 +17,7 @@ phpMyAdmin - ChangeLog
|
|||||||
- [interface] When ShowTooltipAliasTB is true, VIEW is wrongly shown as the
|
- [interface] When ShowTooltipAliasTB is true, VIEW is wrongly shown as the
|
||||||
view name in main panel db Structure page
|
view name in main panel db Structure page
|
||||||
- bug #3439292 [core] Fail to synchronize column with name of keyword
|
- 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)
|
3.4.7.1 (2011-11-10)
|
||||||
- [security] Fixed possible local file inclusion in XML import
|
- [security] Fixed possible local file inclusion in XML import
|
||||||
|
@@ -41,6 +41,10 @@ $(document).ready(function() {
|
|||||||
* @var curr_column_name String containing name of the field referred to by {@link curr_row}
|
* @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 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 String containing the question to be asked for confirmation
|
||||||
*/
|
*/
|
||||||
@@ -53,6 +57,7 @@ $(document).ready(function() {
|
|||||||
$.get(url, {'is_js_confirmed' : 1, 'ajax_request' : true}, function(data) {
|
$.get(url, {'is_js_confirmed' : 1, 'ajax_request' : true}, function(data) {
|
||||||
if(data.success == true) {
|
if(data.success == true) {
|
||||||
PMA_ajaxShowMessage(data.message);
|
PMA_ajaxShowMessage(data.message);
|
||||||
|
$after_field_item.remove();
|
||||||
$(curr_row).hide("medium").remove();
|
$(curr_row).hide("medium").remove();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user