summaryrefslogtreecommitdiffstats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-17 08:08:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-17 08:08:33 +0000
commitd1a1e25bb8902ec46c5b3cc95dc5dad5f3e7265c (patch)
tree8e06f63abf95f00e3b47efff138068d51f01dfb4 /app/views/layouts
parent27fd8a2436db0512dd5b779848043cacb80943f1 (diff)
downloadredmine-d1a1e25bb8902ec46c5b3cc95dc5dad5f3e7265c.tar.gz
redmine-d1a1e25bb8902ec46c5b3cc95dc5dad5f3e7265c.zip
Project jump box fix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2271 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/_project_selector.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/_project_selector.rhtml b/app/views/layouts/_project_selector.rhtml
index d8e2a72c9..545884042 100644
--- a/app/views/layouts/_project_selector.rhtml
+++ b/app/views/layouts/_project_selector.rhtml
@@ -1,7 +1,7 @@
<% user_projects_by_root = User.current.projects.find(:all, :include => :parent).group_by(&:root) %>
<select onchange="if (this.value != '') { window.location = this.value; }">
-<option selected="selected"><%= l(:label_jump_to_a_project) %></option>
-<option disabled="disabled">---</option>
+<option selected="selected" value=""><%= l(:label_jump_to_a_project) %></option>
+<option disabled="disabled" value="">---</option>
<% user_projects_by_root.keys.sort.each do |root| %>
<%= content_tag('option', h(root.name), :value => url_for(:controller => 'projects', :action => 'show', :id => root, :jump => current_menu_item)) %>
<% user_projects_by_root[root].sort.each do |project| %>