Commit 8ffd552c authored by Randall Leeds's avatar Randall Leeds

Don't auto save page comments in highlight mode

We can still make page comments even when in highlight mode so don't
save these until the user has a chance to edit.
parent ee1ae830
......@@ -199,7 +199,9 @@ AnnotationController = [
vm.render()
# Start editing brand new annotations immediately
unless model.id? then if model.references or not highlight then vm.edit()
unless model.id?
if model.references or not highlight or not model.target.length
vm.edit()
this
]
......
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