From 6d786b43ddc65f2ba6a8feca530014148d2d8266 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Fri, 1 Nov 2013 13:01:38 -0700 Subject: [PATCH] add task._id = task.id on taskDefaults --- script/helpers.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/helpers.coffee b/script/helpers.coffee index 4baf3e3c4f..188791552c 100644 --- a/script/helpers.coffee +++ b/script/helpers.coffee @@ -57,8 +57,10 @@ module.exports = taskDefaults: (task, filters={}) -> self = @ + _uuid = self.uuid() defaults = - id: self.uuid() + id: _uuid + _id: _uuid text: '' up: true down: true