don't throw object:updated with the related detail objects

stable
Juanfran 2015-07-29 14:59:09 +02:00
parent 8b2ac40c42
commit 62137e6f88
1 changed files with 0 additions and 11 deletions

View File

@ -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")
@scope.$on "comment:new", =>
@.loadUs()