Skip to content
Snippets Groups Projects

Flashcards revisited

Merged Andreas Gärtner requested to merge flashcards-revisited into master
Viewing commit 1b7cf9b5
Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -414,7 +414,7 @@ Ext.define('ARSnova.view.FreetextQuestion', {
@@ -414,7 +414,7 @@ Ext.define('ARSnova.view.FreetextQuestion', {
selectAbstentionAnswer: function () {},
selectAbstentionAnswer: function () {},
isEmptyAnswer: function () {
isEmptyAnswer: function () {
return this.answerSubject.getValue().trim() === "" || (this.answerText.getValue().trim() === "" && this.questionObj.textAnswerEnabled) || (!this.answerImage && this.questionObj.imageQuestion);
return (this.questionObj.questionType !== "freetext" && this.answerSubject.getValue().trim() === "") || (this.answerText.getValue().trim() === "" && this.questionObj.textAnswerEnabled) || (!this.answerImage && this.questionObj.imageQuestion);
},
},
saveAnswer: function (answer) {
saveAnswer: function (answer) {