[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_0BETA4-1597-g752a314
Michal Čihař
nijel at users.sourceforge.net
Mon Apr 4 11:59:32 CEST 2011
The branch, master has been updated
via 752a31414d5264f86be717eefbb10fdb7c5fc2c5 (commit)
from ecd7ab7f1c5196308eeb843f7ef7313ec5e35885 (commit)
- Log -----------------------------------------------------------------
commit 752a31414d5264f86be717eefbb10fdb7c5fc2c5
Author: Rouslan Placella <rouslan at placella.com>
Date: Fri Apr 1 15:16:59 2011 +0100
Fix item #1 in bug #3204461 - "Continue insertion" and ENUM columns
-----------------------------------------------------------------------
Summary of changes:
js/tbl_change.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/js/tbl_change.js b/js/tbl_change.js
index 2812c26..1a94714 100644
--- a/js/tbl_change.js
+++ b/js/tbl_change.js
@@ -387,8 +387,11 @@ $(document).ready(function() {
$this_element.attr('name', new_name);
if ($this_element.is('.textfield')) {
+ // do not remove the 'value' attribute for ENUM columns
+ if ($this_element.closest('tr').find('span.column_type').html() != 'enum') {
+ $this_element.attr('value', '');
+ }
$this_element
- .attr('value', '')
.unbind('change')
// Remove onchange attribute that was placed
// by tbl_change.php; it refers to the wrong row index
hooks/post-receive
--
phpMyAdmin
More information about the Git
mailing list