Index: lams_central/web/css/qb-question.scss =================================================================== diff -u -r6cbd849584c40532c6be292f9f009c88cde9439c -r6a00057c1bd113919030bcd00ce1e3c7327c7b2e --- lams_central/web/css/qb-question.scss (.../qb-question.scss) (revision 6cbd849584c40532c6be292f9f009c88cde9439c) +++ lams_central/web/css/qb-question.scss (.../qb-question.scss) (revision 6a00057c1bd113919030bcd00ce1e3c7327c7b2e) @@ -137,7 +137,7 @@ z-index: 2; visibility:hidden; } -#assessmentQuestionForm:hover #question-settings-link, #question-settings-link.btn-primary { +form:hover #question-settings-link, #question-settings-link.btn-primary { visibility:visible; } Index: lams_tool_laqa/conf/language/lams/ApplicationResources_en_AU.properties =================================================================== diff -u -r6eab3045a755dac9c5596e1bbe544a0784b2bb3e -r6a00057c1bd113919030bcd00ce1e3c7327c7b2e --- lams_tool_laqa/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 6eab3045a755dac9c5596e1bbe544a0784b2bb3e) +++ lams_tool_laqa/conf/language/lams/ApplicationResources_en_AU.properties (.../ApplicationResources_en_AU.properties) (revision 6a00057c1bd113919030bcd00ce1e3c7327c7b2e) @@ -232,5 +232,6 @@ message.qb.modified.update =The question in Question Bank will be updated message.qb.modified.version =A new version of the question will be created in Question Bank message.qb.modified.new =A new question will be created in Question Bank +label.settings =Settings #======= End labels: Exported 217 labels for en AU ===== Index: lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/controller/QaAuthoringController.java =================================================================== diff -u -r35ebea0b2dfa2e0323f604242035c2d7e5a299dd -r6a00057c1bd113919030bcd00ce1e3c7327c7b2e --- lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/controller/QaAuthoringController.java (.../QaAuthoringController.java) (revision 35ebea0b2dfa2e0323f604242035c2d7e5a299dd) +++ lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/controller/QaAuthoringController.java (.../QaAuthoringController.java) (revision 6a00057c1bd113919030bcd00ce1e3c7327c7b2e) @@ -334,6 +334,7 @@ qbQuestion = new QbQuestion(); qbQuestion.setType(QbQuestion.TYPE_ESSAY); + qbQuestion.setQuestionId(form.getQuestionId()); qaQuestion = new QaQueContent(); int maxSeq = 1; @@ -368,13 +369,12 @@ switch (isQbQuestionModified) { case IQbService.QUESTION_MODIFIED_VERSION_BUMP: { // impossible scenario as long as ESSAY question type can't have version - throw new RuntimeException("Impossible scenario as long as ESSAY question type can't have version"); + throw new RuntimeException("Impossible scenario as long as ESSAY question type can't have new versions"); } case IQbService.QUESTION_MODIFIED_ID_BUMP: { // new question gets created updatedQuestion = qbQuestion.clone(); updatedQuestion.clearID(); - updatedQuestion.setQuestionId(qbService.generateNextQuestionId()); updatedQuestion.setVersion(1); updatedQuestion.setCreateDate(new Date()); } @@ -412,6 +412,7 @@ @RequestParam String sessionMapID, @RequestParam String contentFolderID) { form.setSessionMapID(sessionMapID); form.setContentFolderID(contentFolderID); + form.setQuestionId(qbService.generateNextQuestionId()); // generate a new question ID right away, so another user won't "take it" QbUtils.fillFormWithUserCollections(qbService, form, null); @@ -435,6 +436,7 @@ QaQueContent qaQuestion = rList.get(questionIndex); QbQuestion qbQuestion = qaQuestion.getQbQuestion(); + form.setQuestionId(qbQuestion.getQuestionId()); form.setTitle(qbQuestion.getName()); form.setDescription(qbQuestion.getDescription()); if (questionIndex >= 0) { Index: lams_tool_laqa/web/authoring/newQuestionBox.jsp =================================================================== diff -u -r86c25c80d92701a94c3161575c76c363891402ad -r6a00057c1bd113919030bcd00ce1e3c7327c7b2e --- lams_tool_laqa/web/authoring/newQuestionBox.jsp (.../newQuestionBox.jsp) (revision 86c25c80d92701a94c3161575c76c363891402ad) +++ lams_tool_laqa/web/authoring/newQuestionBox.jsp (.../newQuestionBox.jsp) (revision 6a00057c1bd113919030bcd00ce1e3c7327c7b2e) @@ -73,7 +73,13 @@ }; $('#newQuestionForm').ajaxSubmit(items); - } + }, + invalidHandler: formValidationInvalidHandler, + errorElement: "em", + errorPlacement: formValidationErrorPlacement, + success: formValidationSuccess, + highlight: formValidationHighlight, + unhighlight: formValidationUnhighlight }); //spinner @@ -102,56 +108,65 @@
- - - + + + + +
+ -
- - +
+ + +
+ +
+ + +
- -
- - -
-
- -
- -
- - -
- - -
-
+
+
+ +
+ +
+ + +
+ + +
+
+ +
+ + +
-
- - +
-
Index: lams_tool_laqa/web/learning/CombinedAnswersContent.jsp =================================================================== diff -u -rb4eeced9a946a0a62d6b51698addd3db798c0498 -r6a00057c1bd113919030bcd00ce1e3c7327c7b2e --- lams_tool_laqa/web/learning/CombinedAnswersContent.jsp (.../CombinedAnswersContent.jsp) (revision b4eeced9a946a0a62d6b51698addd3db798c0498) +++ lams_tool_laqa/web/learning/CombinedAnswersContent.jsp (.../CombinedAnswersContent.jsp) (revision 6a00057c1bd113919030bcd00ce1e3c7327c7b2e) @@ -11,16 +11,16 @@
- - . - + .
-
- -
+ +
+ +
+
Index: lams_tool_laqa/web/learning/LearnerRep.jsp =================================================================== diff -u -rb4eeced9a946a0a62d6b51698addd3db798c0498 -r6a00057c1bd113919030bcd00ce1e3c7327c7b2e --- lams_tool_laqa/web/learning/LearnerRep.jsp (.../LearnerRep.jsp) (revision b4eeced9a946a0a62d6b51698addd3db798c0498) +++ lams_tool_laqa/web/learning/LearnerRep.jsp (.../LearnerRep.jsp) (revision 6a00057c1bd113919030bcd00ce1e3c7327c7b2e) @@ -323,9 +323,11 @@
-
- -
+ +
+ +
+
@@ -373,9 +375,7 @@

- - ${status.count}. - + ${status.count}.

Index: lams_tool_laqa/web/learning/RevisitedLearnerRep.jsp =================================================================== diff -u -rb4eeced9a946a0a62d6b51698addd3db798c0498 -r6a00057c1bd113919030bcd00ce1e3c7327c7b2e --- lams_tool_laqa/web/learning/RevisitedLearnerRep.jsp (.../RevisitedLearnerRep.jsp) (revision b4eeced9a946a0a62d6b51698addd3db798c0498) +++ lams_tool_laqa/web/learning/RevisitedLearnerRep.jsp (.../RevisitedLearnerRep.jsp) (revision 6a00057c1bd113919030bcd00ce1e3c7327c7b2e) @@ -305,9 +305,11 @@
-
- -
+ +
+ +
+
@@ -368,9 +370,7 @@

- - ${status.count}. - + ${status.count}.

Index: lams_tool_laqa/web/learning/SequentialAnswersContent.jsp =================================================================== diff -u -rb4eeced9a946a0a62d6b51698addd3db798c0498 -r6a00057c1bd113919030bcd00ce1e3c7327c7b2e --- lams_tool_laqa/web/learning/SequentialAnswersContent.jsp (.../SequentialAnswersContent.jsp) (revision b4eeced9a946a0a62d6b51698addd3db798c0498) +++ lams_tool_laqa/web/learning/SequentialAnswersContent.jsp (.../SequentialAnswersContent.jsp) (revision 6a00057c1bd113919030bcd00ce1e3c7327c7b2e) @@ -13,15 +13,17 @@
- - . - + .
+
-
- -
+ +
+ +
+
+
@@ -56,15 +58,17 @@
+
+
+
+
-
-