diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-29 21:52:50 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-29 21:52:50 +0000 |
commit | 088563db3e00020d691d79d18c01ac8b06ce92d3 (patch) | |
tree | dd0079b8fea8ac59f2d1ccfd8bd3982887c22f40 /app/helpers/projects_helper.rb | |
parent | bd6ab74318aa8ac421c3fcf518ba7ea17532b2bb (diff) | |
download | redmine-088563db3e00020d691d79d18c01ac8b06ce92d3.tar.gz redmine-088563db3e00020d691d79d18c01ac8b06ce92d3.zip |
Fixed: "new issue" drop-down only visible by admin users.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@681 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/projects_helper.rb')
-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 d3ec69fa7..2657c7e0a 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -180,7 +180,7 @@ module ProjectsHelper trackers = Tracker.find(:all, :order => 'position') # can't use form tag inside helper content_tag('form', - select_tag('tracker_id', '<option></option' + options_from_collection_for_select(trackers, 'id', 'name'), :onchange => "if (this.value != '') {this.form.submit()}"), + select_tag('tracker_id', '<option></option>' + options_from_collection_for_select(trackers, 'id', 'name'), :onchange => "if (this.value != '') {this.form.submit()}"), :action => url_for(:controller => 'projects', :action => 'add_issue', :id => @project), :method => 'get') end end |