Index: lams_tool_laqa/web/authoring/AdvancedContent.jsp =================================================================== diff -u -r2c0f9823decaa5ac91acaee2fb8ad82da0425b3b -rf7c4163d7f916da8b431030a3a36ae6f6cef607a --- lams_tool_laqa/web/authoring/AdvancedContent.jsp (.../AdvancedContent.jsp) (revision 2c0f9823decaa5ac91acaee2fb8ad82da0425b3b) +++ lams_tool_laqa/web/authoring/AdvancedContent.jsp (.../AdvancedContent.jsp) (revision f7c4163d7f916da8b431030a3a36ae6f6cef607a) @@ -29,15 +29,25 @@ $(".rating-criteria-tag").hide(); + $('#allowRateAnswers').click(function() { $(".rating-criteria-tag").toggle("slow"); }); + $('#reflect').click(function() { + $("#reflectionInstructions").toggle("slow"); + }); + //initial state + if (${formBean.showOtherAnswers == 0}) { $("#show-other-answers-options").hide(); } + if (${formBean.reflect == 0}) { + $("#reflectionInstructions").hide(); + } + $('#no-reedit-allowed').click(function() { if ($(this).is(':checked')) { $("#lockWhenFinished").prop('checked', true); @@ -139,7 +149,7 @@ -