summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Morrissey <craig@owncloud.com>2014-10-17 11:55:32 -0400
committerArthur Schiwon <blizzz@owncloud.com>2014-11-19 17:01:13 +0100
commit42ada6cb1587e064033e337133d49a860e2a1dec (patch)
tree40f99451957b5d05ad4c1c724e3e0607a0cd2aa4
parent54607a2142037635c88c97dd093ea9b1d45a30fb (diff)
downloadnextcloud-server-42ada6cb1587e064033e337133d49a860e2a1dec.tar.gz
nextcloud-server-42ada6cb1587e064033e337133d49a860e2a1dec.zip
adjust autocomplete behavior for sharing menu
-rw-r--r--core/js/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 534cc253880..85e92b43be1 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -444,7 +444,7 @@ OC.Share={
}
});
}
- $('#shareWith').autocomplete({minLength: 1, source: function(search, response) {
+ $('#shareWith').autocomplete({minLength: 2, delay: 750, source: function(search, response) {
var $loading = $('#dropdown .shareWithLoading');
$loading.removeClass('hidden');
$.get(OC.filePath('core', 'ajax', 'share.php'), { fetch: 'getShareWith', search: search.term, itemShares: OC.Share.itemShares }, function(result) {