Index: lams_monitoring/web/includes/javascript/monitorLesson.js =================================================================== diff -u -r274e1144600a8f4eaf6e036bb78f409e95107c19 -r63001d8cc2a26f21ee3312bf4c1fb2d2f0e6d623 --- lams_monitoring/web/includes/javascript/monitorLesson.js (.../monitorLesson.js) (revision 274e1144600a8f4eaf6e036bb78f409e95107c19) +++ lams_monitoring/web/includes/javascript/monitorLesson.js (.../monitorLesson.js) (revision 63001d8cc2a26f21ee3312bf4c1fb2d2f0e6d623) @@ -1683,7 +1683,14 @@ $('*[id^="act' + activity.id + 'attention"]', sequenceCanvas).click(function(event){ event.stopPropagation(); // switch to first tab where attention prompts are listed - doSelectTab(1); + if ($('#tblmonitor-tab-content').length == 0) { + // wer are in regular monitor, so switch to first tab to perform tasks + doSelectTab(1); + } else { + // we are in TBL mode, so switch back to regular monitor to perform tasks + switchToRegularMonitor(true); + } + }); } }