diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-09-22 17:16:20 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-22 17:16:20 +0200 |
commit | 03ca76f54f17ea46721292e6a8375e1dfc682d2c (patch) | |
tree | 2af6665710475628727175f8626a4d618273772d /core/js | |
parent | 498e8f712c3512a7e8b054194f82611fae931353 (diff) | |
download | nextcloud-server-03ca76f54f17ea46721292e6a8375e1dfc682d2c.tar.gz nextcloud-server-03ca76f54f17ea46721292e6a8375e1dfc682d2c.zip |
Fix bogus entry that appears when switching with arrow keys
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/sharedialogview.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index 2b61dab3ceb..57743118f28 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -176,6 +176,9 @@ $shareField.autocomplete({ minLength: 2, delay: 750, + focus: function(event) { + event.preventDefault(); + }, source: this.autocompleteHandler, select: this._onSelectRecipient }).data('ui-autocomplete')._renderItem = this.autocompleteRenderItem; |