Commit 9458be63030315c22fa66357aa5fc331716fcb42

Authored by Victor Costa
1 parent cb223432

Fix reject selection

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
views/tasks/_task.html.erb
@@ -41,10 +41,6 @@ @@ -41,10 +41,6 @@
41 <% end %> 41 <% end %>
42 </div><!-- class="task_decisions" --> 42 </div><!-- class="task_decisions" -->
43 43
44 - <% if task.flagged_for_reproval? %>  
45 - <script>jQuery("#decision-cancel-<%= task.id %>").click();</script>  
46 - <% end %>  
47 -  
48 <div class="task_date"><%= show_time(task.created_at) %></div> 44 <div class="task_date"><%= show_time(task.created_at) %></div>
49 45
50 <%= render :partial => 'task_title', :locals => {:task => task} %> 46 <%= render :partial => 'task_title', :locals => {:task => task} %>
@@ -112,3 +108,7 @@ @@ -112,3 +108,7 @@
112 <% end %> 108 <% end %>
113 109
114 </div><!-- class="task_box" --> 110 </div><!-- class="task_box" -->
  111 +
  112 +<% if task.flagged_for_reproval? %>
  113 + <script>jQuery("#decision-cancel-<%= task.id %>").click();</script>
  114 +<% end %>