Commit 18d052ff authored by Aron Carroll's avatar Aron Carroll

Re-render when an annotation comes in from the bridge

parent 3f1e9de6
...@@ -19,6 +19,9 @@ class AnnotationUIController ...@@ -19,6 +19,9 @@ class AnnotationUIController
appScope.$digest() appScope.$digest()
appScope.$evalAsync(angular.noop) appScope.$evalAsync(angular.noop)
$rootScope.$on 'beforeAnnotationCreated', ->
appScope.$evalAsync(angular.noop)
$rootScope.$on 'annotationsLoaded', -> $rootScope.$on 'annotationsLoaded', ->
appScope.$evalAsync(angular.noop) appScope.$evalAsync(angular.noop)
......
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