Fix bogus entry that appears when switching with arrow keys
This commit is contained in:
parent
498e8f712c
commit
03ca76f54f
|
@ -176,6 +176,9 @@
|
||||||
$shareField.autocomplete({
|
$shareField.autocomplete({
|
||||||
minLength: 2,
|
minLength: 2,
|
||||||
delay: 750,
|
delay: 750,
|
||||||
|
focus: function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
},
|
||||||
source: this.autocompleteHandler,
|
source: this.autocompleteHandler,
|
||||||
select: this._onSelectRecipient
|
select: this._onSelectRecipient
|
||||||
}).data('ui-autocomplete')._renderItem = this.autocompleteRenderItem;
|
}).data('ui-autocomplete')._renderItem = this.autocompleteRenderItem;
|
||||||
|
|
Loading…
Reference in New Issue