Commit ad721922 authored by Gergely Ujvari's avatar Gergely Ujvari

Sync annotation state after anchoring

It was never called when the anchoring was finished.
This code adds the missing sync.
It is required for show diff to work.

Fix #2041
parent cd9e1db1
......@@ -233,6 +233,11 @@ module.exports = class Annotator.Guest extends Annotator
this.removeEvents()
setupAnnotation: ->
annotation = super
this.plugins.CrossFrame.sync([annotation])
annotation
createAnnotation: ->
annotation = super
this.plugins.CrossFrame.sync([annotation])
......
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