diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-10-26 08:08:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-10-26 08:08:45 +0000 |
commit | e162f87964bd2f9721c415b2feb5a228e85644b6 (patch) | |
tree | 8bae8bfbdb03f34b4b1228512b6e2b973e873795 /app | |
parent | 711982b7b316ae3ff79ac5cf4d3d4525869d13c6 (diff) | |
download | redmine-e162f87964bd2f9721c415b2feb5a228e85644b6.tar.gz redmine-e162f87964bd2f9721c415b2feb5a228e85644b6.zip |
Replaces <option value=""></option> which is not HTML5 valid (#15191).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12237 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/projects_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 4ec54d8dd..8f236bed6 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -46,7 +46,7 @@ module ProjectsHelper end options = '' - options << "<option value=''></option>" if project.allowed_parents.include?(nil) + options << "<option value=''> </option>" if project.allowed_parents.include?(nil) options << project_tree_options_for_select(project.allowed_parents.compact, :selected => selected) content_tag('select', options.html_safe, :name => 'project[parent_id]', :id => 'project_parent_id') end |