summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Morrissey <craig@owncloud.com>2014-10-17 11:55:32 -0400
committerCraig Morrissey <craig@owncloud.com>2014-10-17 11:55:32 -0400
commit446cebf492afd2bedebfca38b8681eb0ef2433a2 (patch)
treee9afe4ad24c6686dd5fbb3b051a935dfd960e5e6
parent9aa809debf44a5b1f125fe3f32162235230eaae5 (diff)
downloadnextcloud-server-446cebf492afd2bedebfca38b8681eb0ef2433a2.tar.gz
nextcloud-server-446cebf492afd2bedebfca38b8681eb0ef2433a2.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 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) {