Commit 3dbed02e authored by Randall Leeds's avatar Randall Leeds

oops... I broke creating... fixed

parent 215a3257
......@@ -248,11 +248,11 @@ class Annotation
class Editor
this.$inject = [
'$location', '$routeParams', '$scope',
'annotator', 'threading'
'annotator', 'drafts', 'threading'
]
constructor: (
$location, $routeParams, $scope,
annotator, threading
annotator, drafts, threading
) ->
save = ->
$scope.$apply ->
......@@ -277,6 +277,7 @@ class Editor
thread = (threading.getContainer $routeParams.id)
annotation = thread.message?.annotation
$scope.annotation = annotation
drafts.add annotation
class Viewer
......
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