fix #314
parent
ccb2c5cacb
commit
3113de76a7
|
@ -63,10 +63,10 @@ CreateEditSprint = ($repo, $confirm, $rs, $rootscope, lightboxService) ->
|
||||||
lightboxService.close($el)
|
lightboxService.close($el)
|
||||||
$rootscope.$broadcast("sprintform:remove:success")
|
$rootscope.$broadcast("sprintform:remove:success")
|
||||||
|
|
||||||
$scope.$on "sprintform:create", ->
|
$scope.$on "sprintform:create", (event, projectId) ->
|
||||||
createSprint = true
|
createSprint = true
|
||||||
$scope.sprint = {
|
$scope.sprint = {
|
||||||
project: $scope.projectId
|
project: projectId
|
||||||
name: null
|
name: null
|
||||||
estimated_start: null
|
estimated_start: null
|
||||||
estimated_finish: null
|
estimated_finish: null
|
||||||
|
|
|
@ -362,7 +362,7 @@ class BacklogController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.F
|
||||||
@scope.project.default_us_status)
|
@scope.project.default_us_status)
|
||||||
|
|
||||||
addNewSprint: () ->
|
addNewSprint: () ->
|
||||||
@rootscope.$broadcast("sprintform:create")
|
@rootscope.$broadcast("sprintform:create", @scope.projectId)
|
||||||
|
|
||||||
module.controller("BacklogController", BacklogController)
|
module.controller("BacklogController", BacklogController)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue