Divide some long lines
parent
037a3d462f
commit
da6cc67897
|
@ -102,7 +102,8 @@ class KanbanController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi
|
||||||
|
|
||||||
filtersReloadContent: () ->
|
filtersReloadContent: () ->
|
||||||
@.loadUserstories().then () =>
|
@.loadUserstories().then () =>
|
||||||
openArchived = _.difference(@kanbanUserstoriesService.archivedStatus, @kanbanUserstoriesService.statusHide)
|
openArchived = _.difference(@kanbanUserstoriesService.archivedStatus,
|
||||||
|
@kanbanUserstoriesService.statusHide)
|
||||||
if openArchived.length
|
if openArchived.length
|
||||||
for statusId in openArchived
|
for statusId in openArchived
|
||||||
@.loadUserStoriesForStatus({}, statusId)
|
@.loadUserStoriesForStatus({}, statusId)
|
||||||
|
@ -131,8 +132,10 @@ class KanbanController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi
|
||||||
|
|
||||||
addNewUs: (type, statusId) ->
|
addNewUs: (type, statusId) ->
|
||||||
switch type
|
switch type
|
||||||
when "standard" then @rootscope.$broadcast("usform:new", @scope.projectId, statusId, @scope.usStatusList)
|
when "standard" then @rootscope.$broadcast("usform:new",
|
||||||
when "bulk" then @rootscope.$broadcast("usform:bulk", @scope.projectId, statusId)
|
@scope.projectId, statusId, @scope.usStatusList)
|
||||||
|
when "bulk" then @rootscope.$broadcast("usform:bulk",
|
||||||
|
@scope.projectId, statusId)
|
||||||
|
|
||||||
editUs: (id) ->
|
editUs: (id) ->
|
||||||
us = @kanbanUserstoriesService.getUs(id)
|
us = @kanbanUserstoriesService.getUs(id)
|
||||||
|
|
Loading…
Reference in New Issue