prevent closing twice create task

stable
Juanfran 2016-10-06 12:59:27 +02:00
parent 2f645a7b1d
commit 025ac0e77d
1 changed files with 0 additions and 3 deletions

View File

@ -171,9 +171,6 @@ CreateEditTaskDirective = ($repo, $model, $rs, $rootscope, $loading, lightboxSer
deleteAttachments(data) deleteAttachments(data)
.then () => createAttachments(data) .then () => createAttachments(data)
.then () => .then () =>
currentLoading.finish()
lightboxService.close($el)
$rs.tasks.getByRef(data.project, data.ref, params).then (task) -> $rs.tasks.getByRef(data.project, data.ref, params).then (task) ->
$rootscope.$broadcast(broadcastEvent, task) $rootscope.$broadcast(broadcastEvent, task)