Commit 161b34fb authored by jplang's avatar jplang
Browse files

Don't display the dropdown if no transition is allowed.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 8a55097c
......@@ -2,7 +2,7 @@
<div class="splitcontent">
<div class="splitcontentleft">
<% if @issue.safe_attribute? 'status_id' %>
<% if @issue.safe_attribute?('status_id') && @allowed_statuses.present? %>
<p><%= :status_id, (@allowed_statuses.collect {|p| [,]}), {:required => true},
:onchange => "updateIssueFrom('#{escape_javascript project_issue_form_path(@project, :id => @issue, :format => 'js')}')" %></p>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment