Fixed that the project jump box does not preserve current tab after r2304.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2312 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
90c742e4f1
commit
41f3bae917
|
@ -166,7 +166,7 @@ module ApplicationHelper
|
||||||
"<option selected='selected'>#{ l(:label_jump_to_a_project) }</option>" +
|
"<option selected='selected'>#{ l(:label_jump_to_a_project) }</option>" +
|
||||||
'<option disabled="disabled">---</option>'
|
'<option disabled="disabled">---</option>'
|
||||||
s << project_tree_options_for_select(projects) do |p|
|
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
|
end
|
||||||
s << '</select>'
|
s << '</select>'
|
||||||
s
|
s
|
||||||
|
|
Loading…
Reference in New Issue