Index: lams_central/web/qb/authoring/addQuestionHeader.jsp
===================================================================
diff -u -r37e0fd07570d49c026b589611c7de693ecac9497 -r84f740de47dc46a5210e1217511c4e5eb60aceae
--- lams_central/web/qb/authoring/addQuestionHeader.jsp (.../addQuestionHeader.jsp) (revision 37e0fd07570d49c026b589611c7de693ecac9497)
+++ lams_central/web/qb/authoring/addQuestionHeader.jsp (.../addQuestionHeader.jsp) (revision 84f740de47dc46a5210e1217511c4e5eb60aceae)
@@ -19,6 +19,15 @@
const SLIDER_NONE_LABEL = "";
const VALIDATION_ERROR_LABEL = "";
const VALIDATION_ERRORS_LABEL = "{errors_counter}";
+
+ function saveQuestion(isNewVersion) {
+ let form = $('#assessmentQuestionForm');
+ if (isNewVersion) {
+ action = form.attr('action');
+ form.attr('action', action + '?newVersion=true');
+ }
+ form.submit();
+ }