Index: lams_tool_lamc/web/authoring/AuthoringTabsHolder.jsp =================================================================== diff -u -re1e8890bd7a972827bd9449eeb7f76a9b42c5913 -rc1bde51a17e35ed781d2bb7f4123b2012f30f5a3 --- lams_tool_lamc/web/authoring/AuthoringTabsHolder.jsp (.../AuthoringTabsHolder.jsp) (revision e1e8890bd7a972827bd9449eeb7f76a9b42c5913) +++ lams_tool_lamc/web/authoring/AuthoringTabsHolder.jsp (.../AuthoringTabsHolder.jsp) (revision c1bde51a17e35ed781d2bb7f4123b2012f30f5a3) @@ -20,25 +20,24 @@ }); }); - function submitMethod(methodName) { - var f = document.getElementById('mcAuthoringForm'); - f.action = methodName + ".do"; - f.submit(); + function submitMethod(actionMethod) { + document.forms.McAuthoringForm.action=actionMethod+".do"; + document.forms.McAuthoringForm.submit(); } function submitModifyAuthoringQuestion(questionIndexValue, actionMethod) { document.forms.McAuthoringForm.questionIndex.value=questionIndexValue; - document.forms.McAuthoringForm.dispatch.value=actionMethod; + document.forms.McAuthoringForm.action=actionMethod+".do"; - $('#authoringForm').ajaxSubmit({ + $('#mcAuthoringForm').ajaxSubmit({ data: { sessionMapId: '${sessionMapId}' }, target: $('#resourceListArea'), iframe: true, success: function() { - document.forms.McAuthoringForm.dispatch.value="submitAllContent"; + document.forms.McAuthoringForm.action="submitAllContent.do"; refreshThickbox(); } }); @@ -69,10 +68,11 @@ } function doSubmit(method) { - document.forms.McAuthoringForm.dispatch.value=method; + document.forms.McAuthoringForm.action=method+".do"; document.forms.McAuthoringForm.submit(); } + Index: lams_tool_lamc/web/authoring/BasicContent.jsp =================================================================== diff -u -re1e8890bd7a972827bd9449eeb7f76a9b42c5913 -rc1bde51a17e35ed781d2bb7f4123b2012f30f5a3 --- lams_tool_lamc/web/authoring/BasicContent.jsp (.../BasicContent.jsp) (revision e1e8890bd7a972827bd9449eeb7f76a9b42c5913) +++ lams_tool_lamc/web/authoring/BasicContent.jsp (.../BasicContent.jsp) (revision c1bde51a17e35ed781d2bb7f4123b2012f30f5a3) @@ -4,16 +4,16 @@