Index: lams_tool_scratchie/web/pages/learning/learning.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_scratchie/web/pages/learning/learning.jsp,v diff -u -r1.3 -r1.4 --- lams_tool_scratchie/web/pages/learning/learning.jsp 27 Aug 2012 13:52:03 -0000 1.3 +++ lams_tool_scratchie/web/pages/learning/learning.jsp 31 Aug 2012 15:22:54 -0000 1.4 @@ -1,5 +1,4 @@ - + <%@ include file="/common/taglibs.jsp"%> <%-- param has higher level for request attribute --%> @@ -33,7 +32,7 @@ $.ajax({ async: false, url: '', - data: 'sessionMapID=${sessionMapID}&mode=${mode}&toolSessionID=${toolSessionID}&answerUid=' + answerUid, + data: 'sessionMapID=${sessionMapID}&answerUid=' + answerUid, dataType: 'json', type: 'post', success: function (json) { @@ -57,13 +56,18 @@ }); } - function finishSession(){ + function finish(isShowResultsPage){ var numberOfAvailableScratches = $("[id^=imageLink-][onclick]").length; var finishConfirmed = (numberOfAvailableScratches > 0) ? confirm("") : true; if (finishConfirmed) { document.getElementById("finishButton").disabled = true; - document.location.href =''; + if (isShowResultsPage) { + document.location.href =''; + } else { + document.location.href =''; + } + return false; } } @@ -87,42 +91,42 @@ <%@ include file="/common/messages.jsp"%> -

${item.title}

-

${item.description}

- - - - - +

${item.title}

+ ${item.description} + +
- - - - - - - - - - - - - - - - -
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + ${answer.description} +
- - ${answer.description} - - -
- - - +

${sessionMap.reflectInstructions} @@ -153,15 +157,25 @@
- + - - - + + + + + + + + + + + + +