From f2ea87df39929543248e375c803f73b4dabbffac Mon Sep 17 00:00:00 2001 From: Juanfran Date: Wed, 29 Jul 2015 14:59:09 +0200 Subject: [PATCH] [backport] don't throw object:updated with the related detail objects --- app/coffee/modules/userstories/detail.coffee | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/coffee/modules/userstories/detail.coffee b/app/coffee/modules/userstories/detail.coffee index 935f43f3..c3878544 100644 --- a/app/coffee/modules/userstories/detail.coffee +++ b/app/coffee/modules/userstories/detail.coffee @@ -87,21 +87,10 @@ class UserStoryDetailController extends mixOf(taiga.Controller, taiga.PageMixin) initializeEventHandlers: -> @scope.$on "related-tasks:update", => - @.loadUs() @scope.tasks = _.clone(@scope.tasks, false) @scope.$on "attachment:create", => @analytics.trackEvent("attachment", "create", "create attachment on userstory", 1) - @rootscope.$broadcast("object:updated") - - @scope.$on "attachment:edit", => - @rootscope.$broadcast("object:updated") - - @scope.$on "attachment:delete", => - @rootscope.$broadcast("object:updated") - - @scope.$on "custom-attributes-values:edit", => - @rootscope.$broadcast("object:updated") initializeOnDeleteGoToUrl: -> ctx = {project: @scope.project.slug}