diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-11-17 09:02:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-11-17 09:02:07 +0000 |
commit | f12590fa5ccb5148e867acae8d2670a80bcf29fd (patch) | |
tree | 8e60be066b1a4f8cf071dd935df35c58b576125d | |
parent | a1c6f710aa3668f80b65985912072cc0dd5b7cc4 (diff) | |
download | redmine-f12590fa5ccb5148e867acae8d2670a80bcf29fd.tar.gz redmine-f12590fa5ccb5148e867acae8d2670a80bcf29fd.zip |
Merged r10806 from trunk (#12195).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10823 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | public/javascripts/application.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 3c3fc888a..864df805d 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -464,9 +464,11 @@ function updateBulkEditFrom(url) { } function observeAutocompleteField(fieldId, url) { - $('#'+fieldId).autocomplete({ - source: url, - minLength: 2 + $(document).ready(function() { + $('#'+fieldId).autocomplete({ + source: url, + minLength: 2 + }); }); } |