Index: lams_tool_assessment/web/pages/learning/learning.jsp =================================================================== diff -u -r13b9f60ae467a5926804ac7229154f390a81b793 -r1eb2143815418c6dc14f115acc6cc1ce7c1fed32 --- lams_tool_assessment/web/pages/learning/learning.jsp (.../learning.jsp) (revision 13b9f60ae467a5926804ac7229154f390a81b793) +++ lams_tool_assessment/web/pages/learning/learning.jsp (.../learning.jsp) (revision 1eb2143815418c6dc14f115acc6cc1ce7c1fed32) @@ -284,13 +284,14 @@ //autosave feature - var autosaveInterval = ${isLeadershipEnabled and isUserLeader ? 10000 : 30000}; // 30 or 10 seconds interval + var autosaveInterval = ${isLeadershipEnabled and isUserLeader ? 10000 : 30000}, // 30 or 10 seconds interval + autosaveWindowId = new Date().getTime(); // all we need for this ID is to be unique 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; }