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