From e01ab04d2bb335dd8086d6b892fa106d38a80996 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Wed, 27 Feb 2013 17:57:40 +0100
Subject: [PATCH] reduce minimum length for username suggestions in share
 dialog, fix #1666

---
 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 328d57928e..145c31a86c 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -213,7 +213,7 @@ OC.Share={
 					}
 				});
 			}
-			$('#shareWith').autocomplete({minLength: 2, source: function(search, response) {
+			$('#shareWith').autocomplete({minLength: 1, source: function(search, response) {
 	// 			if (cache[search.term]) {
 	// 				response(cache[search.term]);
 	// 			} else {
-- 
GitLab