From 12a442de6cd6df710ac296f77bdb9482f295ea41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Tue, 18 Nov 2014 17:27:11 +0100 Subject: [PATCH] Fix problem with drag and drop on kanban --- app/coffee/modules/kanban/sortable.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/coffee/modules/kanban/sortable.coffee b/app/coffee/modules/kanban/sortable.coffee index bb371980..0b641d01 100644 --- a/app/coffee/modules/kanban/sortable.coffee +++ b/app/coffee/modules/kanban/sortable.coffee @@ -66,8 +66,8 @@ KanbanSortableDirective = ($repo, $rs, $rootscope) -> itemIndex = itemEl.index() newParentScope = parentEl.scope() - newStatusId = newParentScope.status.id - oldStatusId = oldParentScope.status.id + newStatusId = newParentScope.s.id + oldStatusId = oldParentScope.s.id if newStatusId != oldStatusId deleteElement(itemEl)