summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-26 11:23:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-26 11:23:53 +0000
commit7b8ebb7e3ffc62e28396fadbd009216eb0e53c5f (patch)
tree43269790cccebe4e886064e897b9cb0d59edb31b /public
parenteba4efc9d0ad6222818a32a5bac2190cef0d45b0 (diff)
downloadredmine-7b8ebb7e3ffc62e28396fadbd009216eb0e53c5f.tar.gz
redmine-7b8ebb7e3ffc62e28396fadbd009216eb0e53c5f.zip
Auto-populate fields while creating a new user with LDAP (#10286).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11080 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/application.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 592a4f873..3284c6a86 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -456,12 +456,12 @@ function updateBulkEditFrom(url) {
});
}
-function observeAutocompleteField(fieldId, url) {
+function observeAutocompleteField(fieldId, url, options) {
$(document).ready(function() {
- $('#'+fieldId).autocomplete({
+ $('#'+fieldId).autocomplete($.extend({
source: url,
minLength: 2
- });
+ }, options));
});
}