style: Remove trailing spaces

stable
Miguel Gonzalez 2018-08-06 09:19:18 +02:00 committed by Alex Hermida
parent a7a8142aec
commit d96e1f7d80
1 changed files with 6 additions and 6 deletions

View File

@ -85,20 +85,20 @@ KanbanSortableDirective = ($repo, $rs, $rootscope) ->
if !dragMultipleItems.length
dragMultipleItems = [item]
firstElement = dragMultipleItems[0]
index = $(firstElement).index()
firstElement = dragMultipleItems[0]
index = $(firstElement).index()
newStatus = newParentScope.s.id
usList = _.map dragMultipleItems, (item) -> $(item).scope().us
usList = _.map dragMultipleItems, (item) -> $(item).scope().us
finalUsList = _.map usList, (item) ->
finalUsList = _.map usList, (item) ->
return {
id: item.get('id'),
oldStatusId: item.getIn(['model', 'status'])
}
$scope.$apply ->
_.each usList, (item, key) =>
$scope.$apply ->
_.each usList, (item, key) =>
oldStatus = item.getIn(['model', 'status'])
sameContainer = newStatus == oldStatus