Fixed task update method.

This commit is contained in:
Martin Edenhofer 2013-06-18 23:36:32 +02:00
parent c2a7c6a3fc
commit 8fd45e7297

View file

@ -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 ) =>