Fix keyboard control of the autocomplete list

release-0.6
thomascube 16 years ago
parent bb5dd5916b
commit 3d3d1010cc

@ -486,7 +486,7 @@ function rcube_webmail()
this.init_address_input_events = function(obj) this.init_address_input_events = function(obj)
{ {
var handler = function(e){ return ref.ksearch_keypress(e,this); }; var handler = function(e){ return ref.ksearch_keypress(e,this); };
obj.bind((bw.safari ? 'keydown' : 'keypress'), handler); obj.bind((bw.safari || bw.ie ? 'keydown' : 'keypress'), handler);
obj.attr('autocomplete', 'off'); obj.attr('autocomplete', 'off');
}; };

Loading…
Cancel
Save