Index: lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld,v diff -u -r1.6.2.6 -r1.6.2.7 --- lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld 18 Apr 2016 23:26:08 -0000 1.6.2.6 +++ lams_tool_daco/web/WEB-INF/tlds/lams/lams.tld 26 Apr 2016 12:03:13 -0000 1.6.2.7 @@ -416,6 +416,10 @@ /WEB-INF/tags/TabName.tag + TabBodyArea + /WEB-INF/tags/TabBodyArea.tag + + CKEditor /WEB-INF/tags/CKEditor.tag @@ -446,27 +450,15 @@ TSTable /WEB-INF/tags/TSTable.tag - + Arrow /WEB-INF/tags/Arrow.tag - - - HybridTab - /WEB-INF/tags/HybridTab.tag - HybridTabHeader - /WEB-INF/tags/HybridTabHeader.tag - - - HybridTabBody - /WEB-INF/tags/HybridTabBody.tag - - AdvancedAccordian /WEB-INF/tags/AdvancedAccordian.tag - + ImgButtonWrapper /WEB-INF/tags/ImgButtonWrapper.tag @@ -509,5 +501,13 @@ head /WEB-INF/tags/Head.tag + + Comments + /WEB-INF/tags/Comments.tag + + + CommentsAuthor + /WEB-INF/tags/CommentsAuthor.tag + Index: lams_tool_daco/web/common/tabbedheader.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/common/tabbedheader.jsp,v diff -u -r1.2.12.3 -r1.2.12.4 --- lams_tool_daco/web/common/tabbedheader.jsp 14 Apr 2016 13:25:48 -0000 1.2.12.3 +++ lams_tool_daco/web/common/tabbedheader.jsp 26 Apr 2016 12:03:13 -0000 1.2.12.4 @@ -11,7 +11,6 @@ - Index: lams_tool_daco/web/includes/javascript/dacoAuthoring.js =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/includes/javascript/dacoAuthoring.js,v diff -u -r1.4 -r1.4.2.1 --- lams_tool_daco/web/includes/javascript/dacoAuthoring.js 26 Jul 2013 13:16:40 -0000 1.4 +++ lams_tool_daco/web/includes/javascript/dacoAuthoring.js 26 Apr 2016 12:03:13 -0000 1.4.2.1 @@ -4,7 +4,6 @@ //Initial behavior $(document).ready(function() { defaultShowAdditionaOptionsArea(); - resizeQuestionInputArea (); }); //Checks if the element exists and has an empty value @@ -13,18 +12,6 @@ return (elem!=null && elem.value!=""); } - //Resizes the question input area so it is visible on the screen. - function resizeQuestionInputArea (){ - var obj = window.document.getElementById('questionInputArea'); - if (!obj && window.parent) { - obj = window.parent.document.getElementById('questionInputArea'); - } - if (!obj) { - obj = window.top.document.getElementById('questionInputArea'); - } - obj.style.height=obj.contentWindow.document.body.scrollHeight + 10 + 'px'; - } - //Checks if the additional options area has all the default values, so it may stay hidden function defaultShowAdditionaOptionsArea(){ if (checkNonDefaultValue("max") @@ -45,7 +32,6 @@ else { $('#toggleAdditionalOptionsAreaLink').text(msgShowAdditionalOptions); } - resizeQuestionInputArea(); }); } @@ -110,24 +96,36 @@ //Packs additional elements and submits the question form function submitDacoQuestion(){ - var questionType = $("#questionType").val(); + if ( typeof CKEDITOR !== 'undefined' ) { + for ( instance in CKEDITOR.instances ) + CKEDITOR.instances[instance].updateElement(); + } + + var questionType = $("#questionType").val(); - if(questionType==7 || questionType==8 || questionType==9){ - $("#answerOptionList").val($("#answerOptionsForm").serialize()); - } - - else if (questionType == 10){ - var longlatMapsString = ""; - $("#longlatMaps option:selected").each(function (){ - longlatMapsString += this.value + "&"; - }); - $("#longlatMapsSelected").val(longlatMapsString); - } - - $("#dacoQuestionForm").submit(); - } - + if(questionType==7 || questionType==8 || questionType==9){ + $("#answerOptionList").val($("#answerOptionsForm").serialize()); + } + + else if (questionType == 10){ + var longlatMapsString = ""; + $("#longlatMaps option:selected").each(function (){ + longlatMapsString += this.value + "&"; + }); + $("#longlatMapsSelected").val(longlatMapsString); + } + + $.ajax({ + type: $("#dacoQuestionForm").attr('method'), + url: $("#dacoQuestionForm").attr('action'), + data: $("#dacoQuestionForm").serialize(), // serializes the form's elements. + success: function(data) { + $('#questionInputArea').html(data); + } + }); + } + //Cancels a question adding procedure function cancelDacoQuestion(){ - window.hideQuestionInputArea ? window.hideQuestionInputArea() : window.top.hideQuestionInputArea(); + window.hideQuestionInputArea ? window.hideQuestionInputArea() : window.parent.hideQuestionInputArea(); } \ No newline at end of file Index: lams_tool_daco/web/pages/authoring/advanced.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/authoring/advanced.jsp,v diff -u -r1.6.12.2 -r1.6.12.3 --- lams_tool_daco/web/pages/authoring/advanced.jsp 18 Apr 2016 23:26:30 -0000 1.6.12.2 +++ lams_tool_daco/web/pages/authoring/advanced.jsp 26 Apr 2016 12:03:13 -0000 1.6.12.3 @@ -8,11 +8,11 @@ -
-
+
+
- - + + @@ -23,7 +23,7 @@ + property="daco.maxRecords" styleClass="form-control"> @@ -33,29 +33,29 @@
-
- -

+
+
+
-
- -

+
+
-
- - +
+
+
+
+
- - -
-
- -
\ No newline at end of file + +
+ + Index: lams_tool_daco/web/pages/authoring/authoring.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/authoring/authoring.jsp,v diff -u -r1.7.2.6 -r1.7.2.7 --- lams_tool_daco/web/pages/authoring/authoring.jsp 20 Apr 2016 00:33:36 -0000 1.7.2.6 +++ lams_tool_daco/web/pages/authoring/authoring.jsp 26 Apr 2016 12:03:13 -0000 1.7.2.7 @@ -69,11 +69,13 @@ +
+
Index: lams_tool_daco/web/pages/authoring/basic.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/authoring/basic.jsp,v diff -u -r1.7.2.2 -r1.7.2.3 --- lams_tool_daco/web/pages/authoring/basic.jsp 18 Apr 2016 23:26:30 -0000 1.7.2.2 +++ lams_tool_daco/web/pages/authoring/basic.jsp 26 Apr 2016 12:03:13 -0000 1.7.2.3 @@ -3,22 +3,23 @@ +
- +
- +
<%@ include file="/pages/authoring/parts/questionlist.jsp"%>
-
+
 

-

+

Index: lams_tool_daco/web/pages/authoring/parts/addcheckbox.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/authoring/parts/addcheckbox.jsp,v diff -u -r1.9.2.4 -r1.9.2.5 --- lams_tool_daco/web/pages/authoring/parts/addcheckbox.jsp 20 Apr 2016 10:45:44 -0000 1.9.2.4 +++ lams_tool_daco/web/pages/authoring/parts/addcheckbox.jsp 26 Apr 2016 12:03:13 -0000 1.9.2.5 @@ -35,58 +35,46 @@

- - + <%@ include file="description.jsp"%> -
- - - -
- - - -
Index: lams_tool_daco/web/pages/authoring/parts/adddate.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/authoring/parts/adddate.jsp,v diff -u -r1.7.2.2 -r1.7.2.3 --- lams_tool_daco/web/pages/authoring/parts/adddate.jsp 26 Feb 2016 07:17:17 -0000 1.7.2.2 +++ lams_tool_daco/web/pages/authoring/parts/adddate.jsp 26 Apr 2016 12:03:13 -0000 1.7.2.3 @@ -5,7 +5,7 @@ <%@ include file="/common/header.jsp"%> - + --> \ No newline at end of file Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/pages/authoring/parts/buttons.jsp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_daco/web/pages/authoring/parts/description.jsp'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_daco/web/pages/authoring/parts/questionlist.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/authoring/parts/questionlist.jsp,v diff -u -r1.9.2.3 -r1.9.2.4 --- lams_tool_daco/web/pages/authoring/parts/questionlist.jsp 15 Apr 2016 11:47:34 -0000 1.9.2.3 +++ lams_tool_daco/web/pages/authoring/parts/questionlist.jsp 26 Apr 2016 12:03:13 -0000 1.9.2.4 @@ -71,19 +71,7 @@ <%-- This script will work when a new question is submited in order to refresh "Question List" panel. --%> \ No newline at end of file Index: lams_tool_daco/web/pages/learning/addRecord.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/learning/addRecord.jsp,v diff -u -r1.9.2.1 -r1.9.2.2 --- lams_tool_daco/web/pages/learning/addRecord.jsp 18 Mar 2016 09:01:52 -0000 1.9.2.1 +++ lams_tool_daco/web/pages/learning/addRecord.jsp 26 Apr 2016 12:03:13 -0000 1.9.2.2 @@ -95,10 +95,10 @@ depending on the maximum number of characters the teacher provided --%> - + - + @@ -108,7 +108,7 @@ - + <%-- Number --%> @@ -126,33 +126,40 @@ - + <%-- Date can be entered in three textfields --%>
- -   - + +
+ +   +
+ +
+ + +   +
+ +
+ + + +
+
- -   - - - - - -
<%-- File --%>
- +
<%-- Image --%> @@ -170,7 +177,8 @@ <%-- It displays for example A) instead of 1) --%> - ${fn:substring(ordinal,status.index,status.index+1)})  
+ ${fn:substring(ordinal,status.index,status.index+1)}) +
@@ -179,8 +187,8 @@ - - + + @@ -194,10 +202,10 @@ - ${fn:substring(ordinal,status.index,status.index+1)}) - - -
+ ${fn:substring(ordinal,status.index,status.index+1)}) + +
@@ -207,27 +215,28 @@ - - - - - - - - - - -
- - - -
-
- - - -
-
+
+
+ +
+ +
+
+

+
+
+ + +
+ +
+ +
+
+

+
+
+
Index: lams_tool_daco/web/pages/learning/listRecords.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/learning/listRecords.jsp,v diff -u -r1.11.2.6 -r1.11.2.7 --- lams_tool_daco/web/pages/learning/listRecords.jsp 15 Apr 2016 11:47:25 -0000 1.11.2.6 +++ lams_tool_daco/web/pages/learning/listRecords.jsp 26 Apr 2016 12:03:13 -0000 1.11.2.7 @@ -183,7 +183,7 @@ checked="checked" - > + > 
@@ -203,11 +203,11 @@ -
+  
- +
@@ -257,4 +257,4 @@ - + \ No newline at end of file Index: lams_tool_daco/web/pages/learning/listRecordsHorizontalPart.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_daco/web/pages/learning/listRecordsHorizontalPart.jsp,v diff -u -r1.9.2.6 -r1.9.2.7 --- lams_tool_daco/web/pages/learning/listRecordsHorizontalPart.jsp 14 Apr 2016 13:25:48 -0000 1.9.2.6 +++ lams_tool_daco/web/pages/learning/listRecordsHorizontalPart.jsp 26 Apr 2016 12:03:13 -0000 1.9.2.7 @@ -161,12 +161,13 @@ -<%-- + - - + + + - --%> + @@ -175,12 +176,12 @@ - ${answer.fileName} +  ${answer.fileName} - +
@@ -207,29 +208,29 @@ - +   -
@@ -192,7 +193,7 @@ checked="checked" - > + > 
+
-
+  
- +