diff --git a/src/app/features/annotations/editorCtrl.js b/src/app/features/annotations/editorCtrl.js index b61dd6b05e4..39b072263fc 100644 --- a/src/app/features/annotations/editorCtrl.js +++ b/src/app/features/annotations/editorCtrl.js @@ -58,6 +58,7 @@ function (angular, _, $) { $scope.update = function() { $scope.reset(); $scope.editor.index = 0; + $scope.broadcastRefresh(); }; $scope.add = function() { @@ -65,12 +66,14 @@ function (angular, _, $) { $scope.reset(); $scope.editor.index = 0; $scope.updateSubmenuVisibility(); + $scope.broadcastRefresh(); }; $scope.removeAnnotation = function(annotation) { var index = _.indexOf($scope.annotations, annotation); $scope.annotations.splice(index, 1); $scope.updateSubmenuVisibility(); + $scope.broadcastRefresh(); }; }); diff --git a/src/app/features/annotations/partials/editor.html b/src/app/features/annotations/partials/editor.html index fc7d6225d3f..db56d08f940 100644 --- a/src/app/features/annotations/partials/editor.html +++ b/src/app/features/annotations/partials/editor.html @@ -10,7 +10,8 @@