bug #3357837 [interface] TABbing through a NULL field in the inline mode resets NULL

This commit is contained in:
Madhura Jayaratne
2011-07-10 17:55:56 +05:30
parent 95927229de
commit a546479680
2 changed files with 5 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ phpMyAdmin - ChangeLog
- bug #3353649 [interface] "Create an index on X columns" form not validated - bug #3353649 [interface] "Create an index on X columns" form not validated
- bug #3350790 [interface] JS error in Table->Structure->Index->Edit - bug #3350790 [interface] JS error in Table->Structure->Index->Edit
- bug #3353811 [interface] Info message has "error" class - 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) 3.4.3.1 (2011-07-02)
- [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5 - [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5

View File

@@ -644,7 +644,10 @@ $(document).ready(function() {
}) })
} else { } else {
$this_field.find('textarea').live('keypress', function(e) { $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);
}
}) })
} }