Merge pull request #393 from taigaio/bug/2424/clearing-new-sprint-errors
Reseting form for clearing errorsstable
commit
c41bb2ab45
|
@ -103,6 +103,9 @@ CreateEditSprint = ($repo, $confirm, $rs, $rootscope, lightboxService, $loading)
|
|||
$repo.remove($scope.sprint).then(onSuccess, onError)
|
||||
|
||||
$scope.$on "sprintform:create", (event, projectId) ->
|
||||
form = $el.find("form").checksley()
|
||||
form.reset()
|
||||
|
||||
createSprint = true
|
||||
$scope.sprint.project = projectId
|
||||
$scope.sprint.name = null
|
||||
|
|
Loading…
Reference in New Issue