Index: lams_tool_lamc/web/authoring/BasicContent.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_lamc/web/authoring/BasicContent.jsp,v
diff -u -r1.49 -r1.50
--- lams_tool_lamc/web/authoring/BasicContent.jsp 25 Mar 2014 15:12:46 -0000 1.49
+++ lams_tool_lamc/web/authoring/BasicContent.jsp 17 May 2014 19:54:43 -0000 1.50
@@ -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
+