From b5e61863c738fab484eceb7cb5a0a6bbcd59de3d Mon Sep 17 00:00:00 2001 From: Juanfran Date: Fri, 22 Jan 2016 13:53:41 +0100 Subject: [PATCH] remove update twice attachment --- app/modules/components/attachment/attachment.controller.coffee | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/modules/components/attachment/attachment.controller.coffee b/app/modules/components/attachment/attachment.controller.coffee index 487f107e..fa489e46 100644 --- a/app/modules/components/attachment/attachment.controller.coffee +++ b/app/modules/components/attachment/attachment.controller.coffee @@ -43,8 +43,6 @@ class AttachmentController save: () -> attachment = @.attachment.set('loading', true) - @.onUpdate({attachment: attachment}) - attachment = @.attachment.merge({ editable: false, loading: false