Index: lams_tool_sbmt/web/monitoring/monitoring.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_sbmt/web/monitoring/monitoring.jsp,v diff -u -r1.20 -r1.21 --- lams_tool_sbmt/web/monitoring/monitoring.jsp 12 Apr 2011 12:21:32 -0000 1.20 +++ lams_tool_sbmt/web/monitoring/monitoring.jsp 10 Jul 2013 10:14:33 -0000 1.21 @@ -36,21 +36,23 @@ document.SbmtMonitoringForm.submit(); } - - var statisticTargetDiv = "#statisticArea"; - function doStatistic(){ - var url = ""; - var reqIDVar = new Date(); - $(statisticTargetDiv).load( + function doStatistic(){ + var url = ""; + + $("#statisticArea_Busy").show(); + $("#statisticArea").load( url, { method: "doStatistic", toolContentID: "${param.toolContentID}", - reqID: reqIDVar.getTime() + reqID: (new Date()).getTime() + }, + function() { + $("#statisticArea_Busy").hide(); } ); + } - } Index: lams_tool_sbmt/web/monitoring/parts/summary.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_sbmt/web/monitoring/parts/summary.jsp,v diff -u -r1.18 -r1.19 --- lams_tool_sbmt/web/monitoring/parts/summary.jsp 29 Sep 2012 13:58:29 -0000 1.18 +++ lams_tool_sbmt/web/monitoring/parts/summary.jsp 10 Jul 2013 10:14:33 -0000 1.19 @@ -53,16 +53,19 @@ "mark"); } - var messageTargetDiv = "#messageArea"; function releaseMarks(sessionId) { var url = ""; - var reqIDVar = new Date(); - $(messageTargetDiv).load( + + $("#messageArea_Busy").show(); + $("#messageArea").load( url, { method: "releaseMarks", toolSessionID: sessionId, - reqID: reqIDVar.getTime() + reqID: (new Date()).getTime() + }, + function() { + $("#messageArea_Busy").hide(); } ); }