Gitlab CSE Unil

Commit bdf3e193 authored by M. Chardon's avatar M. Chardon
Browse files

correction statut question sur les annotations enfant

parent 8c6faf7d
......@@ -778,6 +778,7 @@ Y.extend(ANNOTATION, Y.Base, {
this.displayrotation = config.parent_annot_element.displayrotation;
this.borderstyle = config.parent_annot_element.borderstyle || 'solid';
this.parent_annot = parseInt(config.parent_annot_element.id, 10);
this.answerrequested = parseInt(config.parent_annot_element.answerrequested, 10) || 0;
this.studentstatus = parseInt(config.parent_annot_element.studentstatus, 10) || 0;
this.parent_annot_element = config.parent_annot_element;
} else {
......
......@@ -778,6 +778,7 @@ Y.extend(ANNOTATION, Y.Base, {
this.displayrotation = config.parent_annot_element.displayrotation;
this.borderstyle = config.parent_annot_element.borderstyle || 'solid';
this.parent_annot = parseInt(config.parent_annot_element.id, 10);
this.answerrequested = parseInt(config.parent_annot_element.answerrequested, 10) || 0;
this.studentstatus = parseInt(config.parent_annot_element.studentstatus, 10) || 0;
this.parent_annot_element = config.parent_annot_element;
} else {
......
......@@ -243,6 +243,7 @@ Y.extend(ANNOTATION, Y.Base, {
this.displayrotation = config.parent_annot_element.displayrotation;
this.borderstyle = config.parent_annot_element.borderstyle || 'solid';
this.parent_annot = parseInt(config.parent_annot_element.id, 10);
this.answerrequested = parseInt(config.parent_annot_element.answerrequested, 10) || 0;
this.studentstatus = parseInt(config.parent_annot_element.studentstatus, 10) || 0;
this.parent_annot_element = config.parent_annot_element;
} else {
......
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