]> source.dussan.org Git - redmine.git/commitdiff
Fixed that the project jump box does not preserve current tab after r2304.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 25 Jan 2009 12:13:27 +0000 (12:13 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 25 Jan 2009 12:13:27 +0000 (12:13 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2312 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 375d030ca6c6b1e6724dd0979a6d77b121eefd80..e6b480b9fccbccc72559887eb812705148846872 100644 (file)
@@ -166,7 +166,7 @@ module ApplicationHelper
             "<option selected='selected'>#{ l(:label_jump_to_a_project) }</option>" +
             '<option disabled="disabled">---</option>'
       s << project_tree_options_for_select(projects) do |p|
-        { :value => url_for(:controller => 'projects', :action => 'show', :id => p) }
+        { :value => url_for(:controller => 'projects', :action => 'show', :id => p, :jump => current_menu_item) }
       end
       s << '</select>'
       s