app/views/tasks/update.js.haml in fat_free_crm-0.16.4 vs app/views/tasks/update.js.haml in fat_free_crm-0.17.1
- old
+ new
@@ -2,10 +2,10 @@
- if !called_from_index_page?
-# If it's not Tasks tab then we just reload appropriate
-# partial with the new task, and update recent items.
= replace_content(@task)
- $('#recently').replaceWith('#{ j render(:partial => "shared/recently") }');
+ $('#recently').replaceWith('#{ j render(partial: "shared/recently") }');
- else
- if @task.assigned_to != @task_before_update.assigned_to
= reassign(@task)
- elsif @task.bucket != @task_before_update.bucket
= reschedule(@task)