From f9490829af6a7b93197cef73eabdbcf3db3b36d0 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Mon, 23 May 2016 08:31:51 +0200 Subject: [PATCH] prevent drop in userstory in taskboard --- app/coffee/modules/taskboard/sortable.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/coffee/modules/taskboard/sortable.coffee b/app/coffee/modules/taskboard/sortable.coffee index c29875ef..8c5d7ee8 100644 --- a/app/coffee/modules/taskboard/sortable.coffee +++ b/app/coffee/modules/taskboard/sortable.coffee @@ -62,6 +62,7 @@ TaskboardSortableDirective = ($repo, $rs, $rootscope) -> copySortSource: false, copy: false, mirrorContainer: $el[0], + accepts: (el, target) -> return !$(target).hasClass('taskboard-userstory-box') moves: (item) -> return $(item).hasClass('taskboard-task') })