From 39407acf42a0e4776849a1d13a5d503636728589 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Thu, 15 Oct 2015 12:53:57 +0200 Subject: [PATCH] add 'items' params in the sortable empty backlog --- app/coffee/modules/backlog/sortable.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/coffee/modules/backlog/sortable.coffee b/app/coffee/modules/backlog/sortable.coffee index 70b25dbf..48188254 100644 --- a/app/coffee/modules/backlog/sortable.coffee +++ b/app/coffee/modules/backlog/sortable.coffee @@ -144,6 +144,7 @@ BacklogEmptySortableDirective = ($repo, $rs, $rootscope) -> # If the user has not enough permissions we don't enable the sortable if project.my_permissions.indexOf("modify_us") > -1 $el.sortable({ + items: ".us-item-row", dropOnEmpty: true })