Update of
/var/cvs/contributions/didactor2/src/education/templates/education/tests
In directory james.mmbase.org:/tmp/cvs-serv2374/tests
Modified Files:
buildtest.jsp
Log Message:
simplifications, debug
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/tests
Index: buildtest.jsp
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/tests/buildtest.jsp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- buildtest.jsp 14 Mar 2008 13:33:15 -0000 1.36
+++ buildtest.jsp 20 Mar 2008 14:36:03 -0000 1.37
@@ -110,29 +110,31 @@
<!-- Determine if all questions are showed -->
<c:choose>
<c:when test="${fn:length(my_questions) +
fn:length(givenanswers) ge fn:length(questions)}">
+
<input type="button"
disabled="disabled"
- value="${di:translate('education.buttontextdone')}"
class="formbutton"
- onClick="questionform.command.value='done';
postContent('${post}', questionform);"/>
+ value="${di:translate('education.buttontextdone')}"
+ class="formbutton"
+
onclick="document.forms.questionform.command.value='done';
postContent('${post}', document.forms.questionform);" />
</c:when>
<c:otherwise>
<c:if test="${page gt 0}">
<input type="button"
value="${di:translate('education.buttontextprev')}"
class="formbutton"
- onClick="questionform.command.value='back';
postContent('${post}', questionform);" />
+ onclick="questionform.command.value='back';
postContent('${post}', questionform);" />
</c:if>
<c:if test="${learnobject.questionsperpage gt 0 or page *
learnobject.questionsperpage lt fn:length(questions)}">
<input type="button"
value="${di:translate('education.buttontextnext')}"
class="formbutton"
- onClick="postContent('${post}', questionform);" />
+ onclick="postContent('${post}', questionform);" />
</c:if>
<c:if test="${learnobject.questionsperpage lt 1 or page *
learnobject.questionsperpage ge fn:length(questions)}">
<input type="button"
value="${di:translate('education.buttontextdone')}"
class="formbutton"
- onClick="questionform.command.value='done';
postContent('${post}', questionform);" />
+ onclick="questionform.command.value='done';
postContent('${post}', questionform);" />
</c:if>
</c:otherwise>
</c:choose>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs