From 446cebf492afd2bedebfca38b8681eb0ef2433a2 Mon Sep 17 00:00:00 2001 From: Craig Morrissey Date: Fri, 17 Oct 2014 11:55:32 -0400 Subject: [PATCH] adjust autocomplete behavior for sharing menu --- core/js/share.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/share.js b/core/js/share.js index 1de990f379..d9ae016812 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) {