Index: lams_tool_laqa/web/learning/mobile/AnswersContent.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/web/learning/mobile/AnswersContent.jsp,v diff -u -r1.11 -r1.12 --- lams_tool_laqa/web/learning/mobile/AnswersContent.jsp 3 Jul 2015 16:48:10 -0000 1.11 +++ lams_tool_laqa/web/learning/mobile/AnswersContent.jsp 15 Jul 2015 13:07:32 -0000 1.12 @@ -82,7 +82,7 @@ jQuery(".text-area").each(function() { if (jQuery.trim($(this).val()) == "") { if (confirm("")) { - doSubmit(actionMethod); + doSubmit(); return submit = false; } else { this.focus(); @@ -96,7 +96,7 @@ return submit; } - function doSubmit(actionMethod) { + function doSubmit() { document.QaLearningForm.submit(); } @@ -151,8 +151,7 @@ e.preventDefault(); if (validateForm()) { - //run an AJAX post request - $.post($this.attr('action'), $this.serialize()); + doSubmit(); } else { return false; }