Commit 9458be63030315c22fa66357aa5fc331716fcb42
1 parent
cb223432
Exists in
master
and in
9 other branches
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 | 41 | <% end %> |
| 42 | 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 | 44 | <div class="task_date"><%= show_time(task.created_at) %></div> |
| 49 | 45 | |
| 50 | 46 | <%= render :partial => 'task_title', :locals => {:task => task} %> |
| ... | ... | @@ -112,3 +108,7 @@ |
| 112 | 108 | <% end %> |
| 113 | 109 | |
| 114 | 110 | </div><!-- class="task_box" --> |
| 111 | + | |
| 112 | +<% if task.flagged_for_reproval? %> | |
| 113 | + <script>jQuery("#decision-cancel-<%= task.id %>").click();</script> | |
| 114 | +<% end %> | ... | ... |