Index: lams_tool_scratchie/web/pages/learning/learning.jsp =================================================================== diff -u -r4a366cab6c7fbf3a8211f8bb99295eed75e08453 -r1eb2143815418c6dc14f115acc6cc1ce7c1fed32 --- lams_tool_scratchie/web/pages/learning/learning.jsp (.../learning.jsp) (revision 4a366cab6c7fbf3a8211f8bb99295eed75e08453) +++ lams_tool_scratchie/web/pages/learning/learning.jsp (.../learning.jsp) (revision 1eb2143815418c6dc14f115acc6cc1ce7c1fed32) @@ -435,14 +435,15 @@ //autosave feature - var autosaveInterval = "60000"; // 60 seconds interval + var autosaveInterval = "60000", // 60 seconds interval + autosaveWindowId = new Date().getTime(); // all we need for this ID is to be unique window.setInterval(learnerAutosave, autosaveInterval); function learnerAutosave(isCommand){ // isCommand means that the autosave was triggered by force complete or another command websocket message // in this case do not check multiple tabs open, just autosave if (!isCommand) { - let shouldAutosave = preventLearnerAutosaveFromMultipleTabs(autosaveInterval); + let shouldAutosave = preventLearnerAutosaveFromMultipleTabs(autosaveWindowId, autosaveInterval); if (!shouldAutosave) { return; }