[Pkg-owncloud-commits] [owncloud] 42/74: adjust autocomplete behavior for sharing menu
David Prévot
taffit at moszumanska.debian.org
Tue Dec 2 22:04:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 42ada6cb1587e064033e337133d49a860e2a1dec
Author: Craig Morrissey <craig at owncloud.com>
Date: Fri Oct 17 11:55:32 2014 -0400
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 534cc25..85e92b4 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) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list