Index: lams_tool_lamc/web/authoring/editQuestionBox.jsp =================================================================== diff -u -r4e39db7121b2be70c34a77f7e53982cf9a5c4b04 -r424f8d213bbff9badfb9b913fd7c68d5cc1d5c3d --- lams_tool_lamc/web/authoring/editQuestionBox.jsp (.../editQuestionBox.jsp) (revision 4e39db7121b2be70c34a77f7e53982cf9a5c4b04) +++ lams_tool_lamc/web/authoring/editQuestionBox.jsp (.../editQuestionBox.jsp) (revision 424f8d213bbff9badfb9b913fd7c68d5cc1d5c3d) @@ -29,6 +29,11 @@ target: $('#candidateArea') }); } + + function submitForm(methodName) { + var f = document.getElementById('mcAuthoringForm'); + f.action = methodName + ".do"; + f.submit(); function saveQuestion() { $("#newQuestion").val(CKEDITOR.instances.newQuestion.getData()); @@ -55,7 +60,7 @@ function submitModifyCandidate(candidateIndexValue, actionMethod) { document.McAuthoringForm.candidateIndex.value=candidateIndexValue; - submitMethod(actionMethod); + submitForm(actionMethod); } function removeCandidate(candidateIndexValue) { @@ -146,11 +151,11 @@ - - + + - +
- +
@@ -203,6 +208,6 @@
- +