diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-25 11:04:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-25 11:04:38 +0000 |
commit | 61b14f6391afa5848353f4ff5ace5f52443ecff7 (patch) | |
tree | 7a7451a5877f78922fd3a3bb17ac4d33d9b8892b | |
parent | 9964e20a0326adbc2857fd1bb0c6f825bd360c20 (diff) | |
download | redmine-61b14f6391afa5848353f4ff5ace5f52443ecff7.tar.gz redmine-61b14f6391afa5848353f4ff5ace5f52443ecff7.zip |
Use content_tag for empty option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8993 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/controllers/versions_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/versions_controller.rb b/app/controllers/versions_controller.rb index 7bcfcb35a..d7225344f 100644 --- a/app/controllers/versions_controller.rb +++ b/app/controllers/versions_controller.rb @@ -108,7 +108,7 @@ class VersionsController < ApplicationController page << 'hideModal();' # IE doesn't support the replace_html rjs method for select box options page.replace "issue_fixed_version_id", - content_tag('select', '<option></option>' + version_options_for_select(@project.shared_versions.open, @version), :id => 'issue_fixed_version_id', :name => 'issue[fixed_version_id]') + content_tag('select', content_tag('option') + version_options_for_select(@project.shared_versions.open, @version), :id => 'issue_fixed_version_id', :name => 'issue[fixed_version_id]') } end format.api do |