- Fix keyboard doesn't work with autocomplete list with Chrome (#1487029)

release-0.6
alecpl 14 years ago
parent 12daf6ddf5
commit 8cfbc47e89

@ -20,6 +20,7 @@ CHANGELOG Roundcube Webmail
- Add Reply-to-List feature (#1484252) - Add Reply-to-List feature (#1484252)
- Add Mail-Followup-To/Mail-Reply-To support (#1485547) - Add Mail-Followup-To/Mail-Reply-To support (#1485547)
- Fix confirmation message isn't displayed after sending mail on Chrome (#1486177) - Fix confirmation message isn't displayed after sending mail on Chrome (#1486177)
- Fix keyboard doesn't work with autocomplete list with Chrome (#1487029)
RELEASE 0.4.1 RELEASE 0.4.1
------------- -------------

@ -2768,9 +2768,8 @@ 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); }; obj.keydown(function(e){ return ref.ksearch_keydown(e, this); })
obj.bind((bw.safari || bw.ie ? 'keydown' : 'keypress'), handler); .attr('autocomplete', 'off');
obj.attr('autocomplete', 'off');
}; };
// checks the input fields before sending a message // checks the input fields before sending a message
@ -3278,7 +3277,7 @@ function rcube_webmail()
/*********************************************************/ /*********************************************************/
// handler for keyboard events on address-fields // handler for keyboard events on address-fields
this.ksearch_keypress = function(e, obj) this.ksearch_keydown = function(e, obj)
{ {
if (this.ksearch_timer) if (this.ksearch_timer)
clearTimeout(this.ksearch_timer); clearTimeout(this.ksearch_timer);

Loading…
Cancel
Save