Reset tags on issues/us/tasks on open create lightbox.
parent
803da21993
commit
87e8afa100
|
@ -204,6 +204,7 @@ CreateEditUserstoryDirective = ($repo, $model, $rs, $rootScope, lightboxService,
|
||||||
project: projectId
|
project: projectId
|
||||||
status: status
|
status: status
|
||||||
is_archived: false
|
is_archived: false
|
||||||
|
tags: []
|
||||||
}
|
}
|
||||||
|
|
||||||
isNew = true
|
isNew = true
|
||||||
|
|
|
@ -43,6 +43,7 @@ CreateIssueDirective = ($repo, $confirm, $rootscope, lightboxService) ->
|
||||||
type: project.default_issue_type
|
type: project.default_issue_type
|
||||||
priority: project.default_priority
|
priority: project.default_priority
|
||||||
severity: project.default_severity
|
severity: project.default_severity
|
||||||
|
tags: []
|
||||||
}
|
}
|
||||||
|
|
||||||
$scope.$on "$destroy", ->
|
$scope.$on "$destroy", ->
|
||||||
|
|
|
@ -34,6 +34,7 @@ CreateEditTaskDirective = ($repo, $model, $rs, $rootscope, lightboxService) ->
|
||||||
is_archived: false
|
is_archived: false
|
||||||
status: $scope.project.default_task_status
|
status: $scope.project.default_task_status
|
||||||
assigned_to: null
|
assigned_to: null
|
||||||
|
tags: []
|
||||||
}
|
}
|
||||||
isNew = true
|
isNew = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue