Index: lams_tool_lamc/web/authoring/editQuestionBox.jsp
===================================================================
diff -u -r9e395fca5d7eb4a5ac4c9768642a336723a950f7 -re1e8890bd7a972827bd9449eeb7f76a9b42c5913
--- lams_tool_lamc/web/authoring/editQuestionBox.jsp (.../editQuestionBox.jsp) (revision 9e395fca5d7eb4a5ac4c9768642a336723a950f7)
+++ lams_tool_lamc/web/authoring/editQuestionBox.jsp (.../editQuestionBox.jsp) (revision e1e8890bd7a972827bd9449eeb7f76a9b42c5913)
@@ -59,14 +59,14 @@
}
function submitModifyCandidate(candidateIndexValue, actionMethod) {
- document.McAuthoringForm.candidateIndex.value=candidateIndexValue;
+ document.forms.McAuthoringForm.candidateIndex.value=candidateIndexValue;
submitForm(actionMethod);
}
function removeCandidate(candidateIndexValue) {
if (validateMinumumCandidateCount()) {
- document.McAuthoringForm.candidateIndex.value=candidateIndexValue;
- submitMethod("removeCandidate");
+ document.forms.McAuthoringForm.candidateIndex.value=candidateIndexValue;
+ submitForm("removeCandidate");
}
}
@@ -80,7 +80,7 @@
}
var singleCorrectEntry = 0;
- var radioCorrect=document.McAuthoringForm.correct;
+ var radioCorrect=document.forms.McAuthoringForm.correct;
if ((radioCorrect == 'null') || (radioCorrect == 'undefined')) {
var msg = "";
alert(msg);
@@ -129,7 +129,7 @@
}
function validateMinumumCandidateCount() {
- var radioCorrect=document.McAuthoringForm.correct;
+ var radioCorrect=document.forms.McAuthoringForm.correct;
if ((radioCorrect == 'undefined') || (radioCorrect == null)) {
var msg = "";
alert(msg);
@@ -201,7 +201,7 @@
-