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
This commit is contained in:
1 parent
eba4efc9d0
commit
7b8ebb7e3f
9 files changed
+135
-10
No files matched your search
@@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user