From 8fd45e72975db644c75029efdadc8dddcf29d1ac Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 18 Jun 2013 23:36:32 +0200 Subject: [PATCH] Fixed task update method. --- .../javascripts/app/lib/app_post/task_manager.js.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/lib/app_post/task_manager.js.coffee b/app/assets/javascripts/app/lib/app_post/task_manager.js.coffee index 8bd0c1b26..91b9e9f3a 100644 --- a/app/assets/javascripts/app/lib/app_post/task_manager.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/task_manager.js.coffee @@ -212,8 +212,8 @@ class _Singleton extends App.Controller if !task throw "No such task with '#{key}' to update" return if task.isNew() - for item, value of params - task.updateAttribute(item, value) + for item, value of params + task.updateAttribute(item, value) App.Event.trigger 'task:render' remove: ( key, to_not_show = false ) =>