The branch, QA_3_4 has been updated
via a546479680cd1da8af6812ed0eef83b390bab07f (commit)
from 95927229deb417c2df4fad3baccaf9de575c70b5 (commit)
- Log -----------------------------------------------------------------
commit a546479680cd1da8af6812ed0eef83b390bab07f
Author: Madhura Jayaratne <madhura.cj(a)gmail.com>
Date: Sun Jul 10 17:55:56 2011 +0530
bug #3357837 [interface] TABbing through a NULL field in the inline mode resets NULL
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 1 +
js/sql.js | 5 ++++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 00f3ba4..298b043 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@ phpMyAdmin - ChangeLog
- bug #3353649 [interface] "Create an index on X columns" form not validated
- bug #3350790 [interface] JS error in Table->Structure->Index->Edit
- bug #3353811 [interface] Info message has "error" class
+- bug #3357837 [interface] TABbing through a NULL field in the inline mode resets NULL
3.4.3.1 (2011-07-02)
- [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5
diff --git a/js/sql.js b/js/sql.js
index e871c74..82eadb0 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -644,7 +644,10 @@ $(document).ready(function() {
})
} else {
$this_field.find('textarea').live('keypress', function(e) {
- $('.checkbox_null_' + field_name + '_' + this_row_index).attr('checked', false);
+ // FF errorniously triggers for modifier keys such as tab (bug #3357837)
+ if (e.which != 0) {
+ $('.checkbox_null_' + field_name + '_' + this_row_index).attr('checked', false);
+ }
})
}
hooks/post-receive
--
phpMyAdmin