Index: lams_tool_assessment/web/pages/learning/learning.jsp =================================================================== diff -u -r6a344ebb5cd8f45e51d83981d4ba334c8e4da825 -r75c878d64f17f9d53cee756dedfe499b77624514 --- lams_tool_assessment/web/pages/learning/learning.jsp (.../learning.jsp) (revision 6a344ebb5cd8f45e51d83981d4ba334c8e4da825) +++ lams_tool_assessment/web/pages/learning/learning.jsp (.../learning.jsp) (revision 75c878d64f17f9d53cee756dedfe499b77624514) @@ -234,11 +234,15 @@ } }); + function disableButtons() { + $('.btn').prop('disabled',true); + } + function finishSession(){ if (!validateAnswers()) { return; } - + disableButtons(); document.location.href =''; return false; } @@ -247,15 +251,15 @@ if (!validateAnswers()) { return; } - + disableButtons(); document.location.href=''; } function nextPage(pageNumber){ if (!validateAnswers()) { return; } - + disableButtons(); var myForm = $("#answers"); myForm.attr("action", "" + pageNumber); myForm.submit(); @@ -269,7 +273,7 @@ return; } } - + disableButtons(); var myForm = $("#answers"); myForm.attr("action", "&isTimelimitExpired=" + isTimelimitExpired); myForm.submit(); @@ -293,6 +297,7 @@ } function resubmit(){ + disableButtons(); document.location.href =""; return false; } @@ -647,7 +652,7 @@ @@ -658,9 +663,9 @@ - + @@ -674,7 +679,7 @@