summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-23 11:30:50 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-23 11:30:50 +0200
commit53a167eae911b8b595a5207c15ccf48a6301b982 (patch)
tree3061ae5ba336d52f69a8c400049f30ddb90b537e /core/js
parentad71d92acf0ce9a5a3e29cc61ab1c73d2c25368b (diff)
parent03ca76f54f17ea46721292e6a8375e1dfc682d2c (diff)
downloadnextcloud-server-53a167eae911b8b595a5207c15ccf48a6301b982.tar.gz
nextcloud-server-53a167eae911b8b595a5207c15ccf48a6301b982.zip
Merge pull request #19279 from owncloud/share-fixbogusentry
Fix bogus entry that appears when switching with arrow keys
Diffstat (limited to 'core/js')
-rw-r--r--core/js/sharedialogview.js3
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;