summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-11-15 19:59:14 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-11-15 19:59:14 +0000
commite9e5d2e072f6da616149ff643f082fcdef46a222 (patch)
tree8481343f865b67416c334b6097d4c592ff9618b0
parentfd41840434c33ccf5f33968d7d51ba6f417a7933 (diff)
downloadredmine-e9e5d2e072f6da616149ff643f082fcdef46a222.tar.gz
redmine-e9e5d2e072f6da616149ff643f082fcdef46a222.zip
Fixed new issue form rendering with IE8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10806 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--public/javascripts/application.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 1edff8829..cf3c8fbed 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -485,9 +485,11 @@ function updateBulkEditFrom(url) {
}
function observeAutocompleteField(fieldId, url) {
- $('#'+fieldId).autocomplete({
- source: url,
- minLength: 2
+ $(document).ready(function() {
+ $('#'+fieldId).autocomplete({
+ source: url,
+ minLength: 2
+ });
});
}