Index: lams_tool_assessment/web/pages/learning/learning.jsp =================================================================== diff -u -rbfeb7dd59aa544d49b9c985904aade7628ddc733 -r8dd128cd0bad978452e065ebd52b4ee08feabc98 --- lams_tool_assessment/web/pages/learning/learning.jsp (.../learning.jsp) (revision bfeb7dd59aa544d49b9c985904aade7628ddc733) +++ lams_tool_assessment/web/pages/learning/learning.jsp (.../learning.jsp) (revision 8dd128cd0bad978452e065ebd52b4ee08feabc98) @@ -178,6 +178,14 @@ location.reload(); }; + + + // auto expand justification panel on first click + $('.question-area').find('input, select, .ordering-option').on('click change', function(){ + $(this).closest('.question-area').children('.answer-justification-container:not(.autoopened)') + .addClass('autoopened').children('.collapse').collapse('show'); + }); + }); function countHedgeQuestionSelectTotal(questionIndex) {