]> source.dussan.org Git - nextcloud-server.git/commitdiff
reduce minimum length for username suggestions in share dialog, fix #1666
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 27 Feb 2013 16:57:40 +0000 (17:57 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 27 Feb 2013 16:57:53 +0000 (17:57 +0100)
core/js/share.js

index 328d57928ec4fd58c3a023ffa39fef43dfb68e72..145c31a86c85488e053ff5bbee0c56cba52e0a9d 100644 (file)
@@ -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 {