Revision: 2402
http://qtitools.svn.sourceforge.net/qtitools/?rev=2402&view=rev
Author: davemckain
Date: 2010-03-26 17:05:30 +0000 (Fri, 26 Mar 2010)
Log Message:
-----------
MAE: Fixed links from test to report XML.
Modified Paths:
--------------
branches/mathassess/QTIEngine/web-app/WEB-INF/jqti-rendering-resources/org/qtitools/qti/rendering/mathassessengine/test-item.xsl
Modified: branches/mathassess/QTIEngine/web-app/WEB-INF/jqti-rendering-resources/org/qtitools/qti/rendering/mathassessengine/test-item.xsl
===================================================================
--- branches/mathassess/QTIEngine/web-app/WEB-INF/jqti-rendering-resources/org/qtitools/qti/rendering/mathassessengine/test-item.xsl 2010-03-26 17:04:39 UTC (rev 2401)
+++ branches/mathassess/QTIEngine/web-app/WEB-INF/jqti-rendering-resources/org/qtitools/qti/rendering/mathassessengine/test-item.xsl 2010-03-26 17:05:30 UTC (rev 2402)
@@ -183,7 +183,7 @@
<p>This assessment is now complete.</p>
<xsl:if test="not($playrMode)">
- <p><a href="#" onclick="window.open('?report', 'report');">Click here to view the test report</a></p>
+ <p><a href="#" onclick="window.open('?report=yes', 'report');">Click here to view the test report</a></p>
<p><a href="?exit">Click here to return to the main page</a></p>
</xsl:if>
</xsl:otherwise>
@@ -378,9 +378,7 @@
<!-- When running with playr, don't allow candidate to exit test or view report -->
<xsl:if test="not($playrMode)">
<input type="submit" name="exit" id="exit" value="Exit test" onclick="return confirm('Are you sure you want to end this test? All progress will be lost.')"/>
- <input type="button" value="View report">
- <xsl:attribute name="onclick">window.open("?report", "report");</xsl:attribute>
- </input>
+ <input type="button" value="View report" onclick="window.open('?report=yes', 'report');"/>
</xsl:if>
</td>
<td align="right">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|