diff options
author | Smita Kumari <kumarismita62@gmail.com> | 2015-04-23 21:09:18 +0300 |
---|---|---|
committer | Smita Kumari <kumarismita62@gmail.com> | 2015-04-23 21:32:51 +0300 |
commit | 4743362c60880019b23ee59f65cc9bd0572f0630 (patch) | |
tree | 71609f68b82c1513f74fd5c21773306ee474cafe /js/tbl_structure.js | |
parent | a9a23c7d1c58cefefc3a27bcf7a636aca5f5bfb8 (diff) |
fix bug #4867
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
Diffstat (limited to 'js/tbl_structure.js')
-rw-r--r-- | js/tbl_structure.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tbl_structure.js b/js/tbl_structure.js index 9cd7cd58a7..e13e708407 100644 --- a/js/tbl_structure.js +++ b/js/tbl_structure.js @@ -190,6 +190,8 @@ AJAX.registerOnload('tbl_structure.js', function () { } $after_field_item.remove(); $curr_row.hide("medium").remove(); + //by default select the last option to add new column (in case last column is dropped) + $("select[name=after_field] option:last").attr("selected","selected"); //refresh table stats if (data.tableStat) { $('#tablestatistics').html(data.tableStat); |