Explicitely set js calendar until complete switch to jQuery #1121

This commit is contained in:
Felix Schäfer 2013-03-19 21:19:33 +01:00
parent 68e6d171b1
commit 1e2a029099
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@
</div>
<div class="splitcontentright">
<p><%= f.date_field :start_date, :size => 10, :disabled => !@issue.leaf? %></p>
<p><%= f.date_field :due_date, :size => 10, :disabled => !@issue.leaf? %></p>
<p><%= f.date_field :start_date, :size => 10, :disabled => !@issue.leaf? %><%= calendar_for('issue_start_date') if @issue.leaf? %></p>
<p><%= f.date_field :due_date, :size => 10, :disabled => !@issue.leaf? %><%= calendar_for('issue_due_date') if @issue.leaf? %></p>
<p><%= f.text_field :estimated_hours, :size => 3, :disabled => !@issue.leaf? %> <%= l(:field_hours) %></p>
<% if @issue.leaf? && Issue.use_field_for_done_ratio? %>
<p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p>