Index: lams_tool_lamc/web/learning/AnswersContent.jsp =================================================================== diff -u -raced7ba6c1e7c5a9a50d3f64d8cdd96dd7e76194 -r29ae6c439419f020f771d3cd37ffb714ffb577fa --- lams_tool_lamc/web/learning/AnswersContent.jsp (.../AnswersContent.jsp) (revision aced7ba6c1e7c5a9a50d3f64d8cdd96dd7e76194) +++ lams_tool_lamc/web/learning/AnswersContent.jsp (.../AnswersContent.jsp) (revision 29ae6c439419f020f771d3cd37ffb714ffb577fa) @@ -37,17 +37,17 @@ //autoSaveAnswers if hasEditRight if (${hasEditRight}) { var interval = "30000"; // = 30 seconds - window.setInterval( - function(){ + window.setInterval(learnerAutosave, interval); + + function learnerAutosave(){ //ajax form submit $('#mcLearningForm').ajaxSubmit({ url: "" + new Date().getTime(), success: function() { $.growlUI(' '); } }); - }, interval - ); + } } function submitNextQuestionSelected() {