From 42ada6cb1587e064033e337133d49a860e2a1dec 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 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) { -- 2.39.5