Reset tags on issues/us/tasks on open create lightbox.

stable
Andrey Antukh 2014-09-10 14:09:03 +02:00
parent 803da21993
commit 87e8afa100
3 changed files with 3 additions and 0 deletions

View File

@ -204,6 +204,7 @@ CreateEditUserstoryDirective = ($repo, $model, $rs, $rootScope, lightboxService,
project: projectId
status: status
is_archived: false
tags: []
}
isNew = true

View File

@ -43,6 +43,7 @@ CreateIssueDirective = ($repo, $confirm, $rootscope, lightboxService) ->
type: project.default_issue_type
priority: project.default_priority
severity: project.default_severity
tags: []
}
$scope.$on "$destroy", ->

View File

@ -34,6 +34,7 @@ CreateEditTaskDirective = ($repo, $model, $rs, $rootscope, lightboxService) ->
is_archived: false
status: $scope.project.default_task_status
assigned_to: null
tags: []
}
isNew = true