Index: lams_monitoring/web/tblmonitor/tblmonitor.jsp =================================================================== diff -u -rc606e9ef96a924f5389866c6fceb1c7fee959032 -r323598b50c9896906844e615be698a45d1b675ab --- lams_monitoring/web/tblmonitor/tblmonitor.jsp (.../tblmonitor.jsp) (revision c606e9ef96a924f5389866c6fceb1c7fee959032) +++ lams_monitoring/web/tblmonitor/tblmonitor.jsp (.../tblmonitor.jsp) (revision 323598b50c9896906844e615be698a45d1b675ab) @@ -58,13 +58,16 @@ }, TAB_REFRESH_INTERVAL); }); + + function loadTab(method, toolContentID, autoRefresh) { if (!method && !toolContentID) { // tab was refreshed, get stored parameters method = lastTabMethod; - if (autoRefresh && (method == 'burningQuestions' || method == 'aes' || method == 'aesStudentChoices' || method == 'sequence' || $('.modal').hasClass('in'))){ - // do not auto refresh Burning Questions nor AES tabs + if (autoRefresh && (method == 'burningQuestions' || method == 'aes' || method == 'aesStudentChoices' || method == 'sequence' || + method == 'gates' || method == 'iraAssessment' || $('.modal').hasClass('in'))){ + // do not auto refresh pages with mostly static content // or if a modal dialog is open return; } @@ -111,12 +114,13 @@ } // Merge additional options into existing options object, convert method to url call - url = url+method+".do"; + url = url + method + ".do"; $.extend( options, { lessonID: ${lesson.lessonId}, toolContentID: toolContentID }); + $("#tblmonitor-tab-content").load( url, options