add 'items' params in the sortable empty backlog

stable
Juanfran 2015-10-15 12:53:57 +02:00 committed by Alejandro Alonso
parent ef9e1b32cf
commit 39407acf42
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ BacklogEmptySortableDirective = ($repo, $rs, $rootscope) ->
# If the user has not enough permissions we don't enable the sortable # If the user has not enough permissions we don't enable the sortable
if project.my_permissions.indexOf("modify_us") > -1 if project.my_permissions.indexOf("modify_us") > -1
$el.sortable({ $el.sortable({
items: ".us-item-row",
dropOnEmpty: true dropOnEmpty: true
}) })