fix branch/tag select

This commit is contained in:
gitlabhq 2011-11-16 12:19:18 -05:00
parent f0b86c5f1e
commit bb35ef2f60
7 changed files with 29 additions and 6 deletions

View file

@ -1,5 +1,6 @@
= form_tag destination, :method => :get, :class => "project-refs-form" do
= form_tag switch_project_refs_path(@project), :method => :get, :class => "project-refs-form" do
= select_tag "ref", grouped_options_refs, :onchange => "this.form.submit();", :class => "project-refs-select"
= hidden_field_tag :destination, destination
:javascript
$(function(){