Add status to generic form
parent
134389a22c
commit
f6b4d95674
|
@ -785,7 +785,7 @@ $confirm, $q, attachmentsService, $template, $compile) ->
|
|||
description: ""
|
||||
tags: []
|
||||
points : {}
|
||||
status: data.project.default_us_status
|
||||
status: if data.statusId then data.statusId else data.project.default_us_status
|
||||
is_archived: false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -167,7 +167,8 @@ class KanbanController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi
|
|||
when "standard" then @rootscope.$broadcast("genericform:new",
|
||||
{
|
||||
'objType': 'us',
|
||||
'project': @scope.project
|
||||
'project': @scope.project,
|
||||
'statusId': statusId
|
||||
})
|
||||
when "bulk" then @rootscope.$broadcast("usform:bulk",
|
||||
@scope.projectId, statusId)
|
||||
|
|
Loading…
Reference in New Issue