Gitlab CSE Unil

Commit 0591b597 authored by M. Chardon's avatar M. Chardon
Browse files

bug changement de page

parent a5372294
...@@ -6450,6 +6450,9 @@ EDITOR.prototype = { ...@@ -6450,6 +6450,9 @@ EDITOR.prototype = {
} }
annot.divcartridge = ""; annot.divcartridge = "";
} }
if (annot.drawable) {
annot.drawable.erase();
}
} }
for (i = 0; i < page.annotations.length; i++) { for (i = 0; i < page.annotations.length; i++) {
......
...@@ -6443,6 +6443,9 @@ EDITOR.prototype = { ...@@ -6443,6 +6443,9 @@ EDITOR.prototype = {
} }
annot.divcartridge = ""; annot.divcartridge = "";
} }
if (annot.drawable) {
annot.drawable.erase();
}
} }
for (i = 0; i < page.annotations.length; i++) { for (i = 0; i < page.annotations.length; i++) {
......
...@@ -1163,6 +1163,9 @@ EDITOR.prototype = { ...@@ -1163,6 +1163,9 @@ EDITOR.prototype = {
} }
annot.divcartridge = ""; annot.divcartridge = "";
} }
if (annot.drawable) {
annot.drawable.erase();
}
} }
for (i = 0; i < page.annotations.length; i++) { for (i = 0; i < page.annotations.length; i++) {
......
Supports Markdown
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