diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-10-11 08:20:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-10-11 08:20:39 +0000 |
commit | f65133093a6df196b209bfa79d790702f21c2f3c (patch) | |
tree | e1e852aa810393fc662adaccb9018e0e01bd1644 | |
parent | d8ba5c2a069b02709ad5fa11deb341d6cc5aae62 (diff) | |
download | redmine-f65133093a6df196b209bfa79d790702f21c2f3c.tar.gz redmine-f65133093a6df196b209bfa79d790702f21c2f3c.zip |
Fixes project shortcut combo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2916 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 3f96c7dea..a1553e684 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -147,8 +147,8 @@ module ApplicationHelper projects = User.current.projects.all if projects.any? s = '<select onchange="if (this.value != \'\') { window.location = this.value; }">' + - "<option selected='selected'>#{ l(:label_jump_to_a_project) }</option>" + - '<option disabled="disabled">---</option>' + "<option value='' selected='selected'>#{ l(:label_jump_to_a_project) }</option>" + + '<option value="" disabled="disabled">---</option>' s << project_tree_options_for_select(projects) do |p| { :value => url_for(:controller => 'projects', :action => 'show', :id => p, :jump => current_menu_item) } end |