prevent closing twice create task
parent
2f645a7b1d
commit
025ac0e77d
|
@ -171,9 +171,6 @@ CreateEditTaskDirective = ($repo, $model, $rs, $rootscope, $loading, lightboxSer
|
|||
deleteAttachments(data)
|
||||
.then () => createAttachments(data)
|
||||
.then () =>
|
||||
currentLoading.finish()
|
||||
lightboxService.close($el)
|
||||
|
||||
$rs.tasks.getByRef(data.project, data.ref, params).then (task) ->
|
||||
$rootscope.$broadcast(broadcastEvent, task)
|
||||
|
||||
|
|
Loading…
Reference in New Issue