Commit 96374f38 authored by Cedric Takongmo's avatar Cedric Takongmo

bugfix of old commits

parent 27365ae0
......@@ -462,7 +462,8 @@ Ext.define('ARSnova.view.speaker.NewQuestionPanel', {
values.text = mainPartValues.text;
values.subject = mainPartValues.subject;
values.abstention = !panel.abstentionPart.isHidden() && panel.abstentionPart.getAbstention();
values.textCheckerStricktOptions= !panel.textCheckerStricktOptionsFormPart.isHidden() && panel.textCheckerStricktOptionsFormPart.gettextCheckerStricktOptions();
/* todo ... Textchecker ui*/
//values.textCheckerStricktOptions= !panel.textCheckerStricktOptionsFormPart.isHidden() && panel.textCheckerStricktOptionsFormPart.gettextCheckerStricktOptions();
values.questionVariant = panel.getVariant();
values.image = this.image;
values.flashcardImage = null;
......
......@@ -359,11 +359,13 @@ Ext.define('ARSnova.view.speaker.QuestionDetailsPanel', {
question.set("subject", values.subject);
question.set("text", values.questionText);
question.set("abstention", panel.abstentionPart.getAbstention());
question.set("textCheckerStricktOptions", panel.textCheckerStricktOptionsFormPart.gettextCheckerStricktOptions());
/* todo ... Textchecker ui*/
//question.set("textCheckerStricktOptions", panel.textCheckerStricktOptionsFormPart.gettextCheckerStricktOptions());
question.raw.subject = values.subject;
question.raw.text = values.questionText;
question.raw.abstention = panel.abstentionPart.getAbstention();
question.raw.textCheckerStricktOptions = panel.abstentionPart.gettextCheckerStricktOptions();
/* todo ... Textchecker ui*/
//question.raw.textCheckerStricktOptions = panel.abstentionPart.gettextCheckerStricktOptions();
panel.subject.resetOriginalValue();
panel.textarea.resetOriginalValue();
......
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