Index: lams_tool_lamc/web/authoring/BasicContent.jsp =================================================================== diff -u -rf26fb3937b73bfdefd25a6166863ea188d5f8cb9 -r9db7a5bb39fecf9a0f1ae5cf2a9f701d2aa1532f --- lams_tool_lamc/web/authoring/BasicContent.jsp (.../BasicContent.jsp) (revision f26fb3937b73bfdefd25a6166863ea188d5f8cb9) +++ lams_tool_lamc/web/authoring/BasicContent.jsp (.../BasicContent.jsp) (revision 9db7a5bb39fecf9a0f1ae5cf2a9f701d2aa1532f) @@ -15,10 +15,19 @@ } }); } - + function removeMonitoringQuestion(questionIndex) { document.McMonitoringForm.questionIndex.value=questionIndex; - submitMonitoringMethod('removeQuestion'); + document.McMonitoringForm.dispatch.value='removeQuestion'; + + $('#monitoringForm').ajaxSubmit({ + target: $('#resourceListArea'), + iframe: true, + success: function() { + document.McMonitoringForm.dispatch.value="submitAllContent"; + refreshThickbox(); + } + }); } function resizeIframe() { @@ -51,7 +60,7 @@ function saveQTI(formHTML, formName) { document.body.innerHTML += formHTML; var form = document.getElementById(formName); - form.action = ''; + form.action = ''; form.submit(); } @@ -88,42 +97,22 @@
- - <%@ include file="/authoring/itemlist.jsp"%> - - - <%@ include file="/monitoring/itemlist.jsp"%> - + <%@ include file="/authoring/itemlist.jsp"%>

- - ?dispatch=newQuestionBox&requestType=direct&contentFolderID=${mcGeneralAuthoringDTO.contentFolderID}&httpSessionID=${mcGeneralAuthoringDTO.httpSessionID}&toolContentID=${mcGeneralAuthoringDTO.toolContentID}&activeModule=${mcGeneralAuthoringDTO.activeModule}&defaultContentIdStr=${mcGeneralAuthoringDTO.defaultContentIdStr}&sln=${mcGeneralAuthoringDTO.sln}&showMarks=${mcGeneralAuthoringDTO.showMarks}&randomize=${mcGeneralAuthoringDTO.randomize}&questionsSequenced=${mcGeneralAuthoringDTO.questionsSequenced}&retries=${mcGeneralAuthoringDTO.retries}&KeepThis=true&TB_iframe=true&height=640&width=950&modal=true" - class="button-add-item thickbox"> - - - - - - - - - + ?dispatch=newQuestionBox&contentFolderID=${mcGeneralAuthoringDTO.contentFolderID}&httpSessionID=${mcGeneralAuthoringDTO.httpSessionID}&toolContentID=${mcGeneralAuthoringDTO.toolContentID}&sln=${mcGeneralAuthoringDTO.sln}&showMarks=${mcGeneralAuthoringDTO.showMarks}&randomize=${mcGeneralAuthoringDTO.randomize}&questionsSequenced=${mcGeneralAuthoringDTO.questionsSequenced}&retries=${mcGeneralAuthoringDTO.retries}&KeepThis=true&TB_iframe=true&height=640&width=950&modal=true" + class="button-add-item thickbox"> + + - - ?dispatch=newQuestionBox&requestType=direct&contentFolderID=${mcGeneralAuthoringDTO.contentFolderID}&httpSessionID=${mcGeneralAuthoringDTO.httpSessionID}&toolContentID=${mcGeneralAuthoringDTO.toolContentID}&activeModule=${mcGeneralAuthoringDTO.activeModule}&defaultContentIdStr=${mcGeneralAuthoringDTO.defaultContentIdStr}&KeepThis=true&TB_iframe=true&height=640&width=950&modal=true" - class="button-add-item thickbox"> - - - + + + + + +

- -

- - -

-
- - \ No newline at end of file +