summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-10-20 14:35:43 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-10-20 14:35:43 +0200
commit8da6e4b9f09d6d7a03fb602c6d5fe73e87b96a87 (patch)
tree99470d92aa165a119685ebcbdf16a1d6a42723b4
parentcb3a4d22b17ee3dd016faf52530b8f888cef5723 (diff)
parent446cebf492afd2bedebfca38b8681eb0ef2433a2 (diff)
downloadnextcloud-server-8da6e4b9f09d6d7a03fb602c6d5fe73e87b96a87.tar.gz
nextcloud-server-8da6e4b9f09d6d7a03fb602c6d5fe73e87b96a87.zip
Merge pull request #11644 from owncloud/tune-share-autocomplete
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 1de990f379b..d9ae0168129 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) {