diff --git a/CHANGELOG.md b/CHANGELOG.md index d3316fc01432b6bcef93316fc39c2e91b77463d6..dfc7dfc59ffb540604f5391946d87d4e1b1da072 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 2.4.3 +Bug fixes: +* Buttons of the question format bar are now correctly shown or hidden when + switching use cases. +* Flipping of flashcards is no longer inhibited. + ## 2.4.2 Bug fixes: * Fixed a JavaScript `TypeError` which occured when presenting questions with diff --git a/src/main/webapp/app/view/Question.js b/src/main/webapp/app/view/Question.js index 7cc72a1b1014b65b6fac7c1b23f1e5ea12fc0790..fcb10e0e4c027d360346bbe3ea802aeeef4184d7 100755 --- a/src/main/webapp/app/view/Question.js +++ b/src/main/webapp/app/view/Question.js @@ -700,7 +700,8 @@ Ext.define('ARSnova.view.Question', { }, disableQuestion: function (afterInitialization) { - if (ARSnova.app.userRole !== ARSnova.app.USER_ROLE_SPEAKER) { + if (ARSnova.app.userRole !== ARSnova.app.USER_ROLE_SPEAKER + && this.questionObj.questionType !== 'flashcard') { this.setDisabled(true); this.mask(this.customMask); diff --git a/src/main/webapp/app/view/speaker/NewQuestionPanel.js b/src/main/webapp/app/view/speaker/NewQuestionPanel.js index e5e3e52d1651fd721ceb0b5ea67a970e102ea5cc..face975899cf6e37ca99f89af2c0bc40cab849fb 100644 --- a/src/main/webapp/app/view/speaker/NewQuestionPanel.js +++ b/src/main/webapp/app/view/speaker/NewQuestionPanel.js @@ -624,7 +624,7 @@ Ext.define('ARSnova.view.speaker.NewQuestionPanel', { gridScaleFactor: values.gridScaleFactor, imageQuestion: values.imageQuestion, textAnswerEnabled: values.textAnswerEnabled, - votingDisabled: values.questionType === 'slide' ? 0 : 1, + votingDisabled: ['flashcard', 'slide'].indexOf(values.questionType) !== -1 ? 0 : 1, hint: values.hint, solution: values.solution, saveButton: button,