Skip to content

Commit

Permalink
adjust autocomplete behavior for sharing menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Morrissey authored and blizzz committed Nov 19, 2014
1 parent 54607a2 commit 42ada6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/js/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 42ada6c

Please sign in to comment.