Skip to content

Commit

Permalink
new fonction: admin can choose if student's answer sould be deleting …
Browse files Browse the repository at this point in the history
…or not when teacher publish new annotations
  • Loading branch information
Marion Chardon committed Jul 3, 2019
1 parent b52b457 commit ebfa187
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,7 @@ Y.extend(ANNOTATION, Y.Base, {
parent_annot: parseInt(this.parent_annot, 10),
divcartridge: this.divcartridge,
parent_annot_div: this.parent_annot_element.divcartridge,
answerrequested: parseInt(this.answerrequested, 10),
pdfdisplay: this.pdfdisplay
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,7 @@ Y.extend(ANNOTATION, Y.Base, {
parent_annot: parseInt(this.parent_annot, 10),
divcartridge: this.divcartridge,
parent_annot_div: this.parent_annot_element.divcartridge,
answerrequested: parseInt(this.answerrequested, 10),
pdfdisplay: this.pdfdisplay
};
}
Expand Down
1 change: 1 addition & 0 deletions yui/src/editor/js/annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ Y.extend(ANNOTATION, Y.Base, {
parent_annot: parseInt(this.parent_annot, 10),
divcartridge: this.divcartridge,
parent_annot_div: this.parent_annot_element.divcartridge,
answerrequested: parseInt(this.answerrequested, 10),
pdfdisplay: this.pdfdisplay
};
}
Expand Down

0 comments on commit ebfa187

Please sign in to comment.