Commit 9961079c authored by Aron Carroll's avatar Aron Carroll

Add listener for annotationCreated event in threading

parent 5c52d7cb
...@@ -12,6 +12,7 @@ class ThreadingService ...@@ -12,6 +12,7 @@ class ThreadingService
# Create a root container. # Create a root container.
@root = mail.messageContainer() @root = mail.messageContainer()
$rootScope.$on('beforeAnnotationCreated', this.beforeAnnotationCreated) $rootScope.$on('beforeAnnotationCreated', this.beforeAnnotationCreated)
$rootScope.$on('annotationCreated', this.annotationCreated)
$rootScope.$on('annotationDeleted', this.annotationDeleted) $rootScope.$on('annotationDeleted', this.annotationDeleted)
$rootScope.$on('annotationsLoaded', this.annotationsLoaded) $rootScope.$on('annotationsLoaded', this.annotationsLoaded)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment