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

@@ -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);
}
})
}