don't throw object:updated with the related detail objects
parent
8b2ac40c42
commit
62137e6f88
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue