Index: lams_tool_laqa/web/learning/AnswersContent.jsp =================================================================== diff -u -r95793dfa0f05d3568c66c2718a88c73cf9141ae3 -r7ea9b852e5fe8dc5688f983f162064d862f147de --- lams_tool_laqa/web/learning/AnswersContent.jsp (.../AnswersContent.jsp) (revision 95793dfa0f05d3568c66c2718a88c73cf9141ae3) +++ lams_tool_laqa/web/learning/AnswersContent.jsp (.../AnswersContent.jsp) (revision 7ea9b852e5fe8dc5688f983f162064d862f147de) @@ -93,8 +93,8 @@ function doSubmit(actionMethod) { $('.btn').prop('disabled', true); - document.forms.QaLearningForm.method.value=actionMethod; - document.forms.QaLearningForm.submit(); + document.forms.learningForm.action=actionMethod+".do"; + document.forms.learningForm.submit(); } if (${!hasEditRight && mode != "teacher"}) { @@ -105,8 +105,8 @@ $.ajax({ async: false, - url: '', - data: 'method=checkLeaderProgress&toolSessionID=' + $("#tool-session-id").val(), + url: '', + data: 'toolSessionID=' + $("#tool-session-id").val(), dataType: 'json', type: 'post', success: function (json) { @@ -134,7 +134,7 @@ //ajax form submit $('#learningForm').ajaxSubmit({ - url: "" + new Date().getTime(), + url: "" + new Date().getTime(), success: function() { $.growlUI(' '); } @@ -199,8 +199,8 @@ - + @@ -229,15 +229,6 @@ - - - - - - - - -