Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_survey/web/WEB-INF/tags/AdvancedAccordian.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_survey/web/WEB-INF/tags/Arrow.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_survey/web/WEB-INF/tags/AuthoringButton.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/WEB-INF/tags/AuthoringButton.tag,v
diff -u -r1.17 -r1.17.2.1
--- lams_tool_survey/web/WEB-INF/tags/AuthoringButton.tag 23 Jul 2013 17:53:37 -0000 1.17
+++ lams_tool_survey/web/WEB-INF/tags/AuthoringButton.tag 4 Jun 2016 10:23:42 -0000 1.17.2.1
@@ -122,12 +122,12 @@
window.close();
}
-
-
-
-
-
+
+
-
+
+
+
+
\ No newline at end of file
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_survey/web/WEB-INF/tags/AuthoringRatingCriteria.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_survey/web/WEB-INF/tags/CKEditor.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/WEB-INF/tags/CKEditor.tag,v
diff -u -r1.14.2.1 -r1.14.2.2
--- lams_tool_survey/web/WEB-INF/tags/CKEditor.tag 3 Sep 2014 13:19:39 -0000 1.14.2.1
+++ lams_tool_survey/web/WEB-INF/tags/CKEditor.tag 4 Jun 2016 10:23:43 -0000 1.14.2.2
@@ -10,7 +10,12 @@
<%@ attribute name="contentFolderID" required="false" rtexprvalue="true"%>
<%@ attribute name="displayExpanded" required="false" rtexprvalue="true"%>
<%@ attribute name="resizeParentFrameName" required="false" rtexprvalue="true"%>
+<%@ attribute name="method" required="false" rtexprvalue="true"%>
+
+
+
+
@@ -19,6 +24,10 @@
+
+ ${toolbarSet}Inline
+
+
@@ -33,10 +42,10 @@
-
+
- ckeditor/
+ /lams/ckeditor/
@@ -59,10 +68,9 @@
var editor = CKEDITOR.instances["${id}"];
if (editor) { editor.destroy(true); }
- var instance = CKEDITOR.replace( "${id}", {
+ var instance = CKEDITOR.${method}( "${id}", {
width : "${width}",
height : "${height}",
- autoGrow_minHeight : "${height}".replace("px", ""),
toolbar : "${toolbarSet}",
language : "${language}",
defaultLangugage : "en",
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_survey/web/WEB-INF/tags/Comments.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_survey/web/WEB-INF/tags/CommentsAuthor.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_survey/web/WEB-INF/tags/Page.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/WEB-INF/tags/Attic/Page.tag,v
diff -u -r1.1.2.2 -r1.1.2.3
--- lams_tool_survey/web/WEB-INF/tags/Page.tag 6 Mar 2016 08:24:37 -0000 1.1.2.2
+++ lams_tool_survey/web/WEB-INF/tags/Page.tag 4 Jun 2016 10:23:43 -0000 1.1.2.3
@@ -12,25 +12,38 @@
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_survey/web/WEB-INF/tags/Rating.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_survey/web/WEB-INF/tags/RestrictedUsageAccordian.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_survey/web/WEB-INF/tags/TSTable.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_survey/web/WEB-INF/tags/Tab.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/WEB-INF/tags/Tab.tag,v
diff -u -r1.6 -r1.6.12.1
--- lams_tool_survey/web/WEB-INF/tags/Tab.tag 7 Mar 2008 00:39:07 -0000 1.6
+++ lams_tool_survey/web/WEB-INF/tags/Tab.tag 4 Jun 2016 10:23:43 -0000 1.6.12.1
@@ -1,85 +1,89 @@
-<%
- /****************************************************************
- * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
- * =============================================================
- * License Information: http://lamsfoundation.org/licensing/lams/2.0/
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2.0
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
- * USA
- *
- * http://www.gnu.org/licenses/gpl.txt
- * ****************************************************************
- */
-
- /**
- * Tab.tag
- * Author: Mitchell Seaton
- * Description: Creates a tab element.
- * Wiki:
- */
-%>
-<%@ tag body-content="empty"%>
-<%@ attribute name="id" required="true" rtexprvalue="true"%>
-<%@ attribute name="value" required="false" rtexprvalue="true"%>
-<%@ attribute name="key" required="false" rtexprvalue="true"%>
-<%@ attribute name="inactive" required="false" rtexprvalue="true"%>
-<%@ attribute name="methodCall" required="false" rtexprvalue="true"%>
-
-<%@ taglib uri="tags-core" prefix="c"%>
-<%@ taglib uri="tags-fmt" prefix="fmt"%>
-<%@ taglib uri="tags-lams" prefix="lams"%>
-
-<%-- Check if bundle is set --%>
-
-
-
-
-
-
-
-
-
-
-<%--
- Usually methodCall is selectTab, but the calling code can override methodCall if desired.
- this is handy if the page needs different logic on initialisation and user switching tabs
---%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+<%
+ /****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2.0
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+ /**
+ * Tab.tag
+ * Author: Fiona Malikoff
+ * Description: Creates a tab element within the Hybrid Tab Header.
+ * Wiki:
+ */
+%>
+<%@ tag body-content="empty"%>
+<%@ attribute name="id" required="true" rtexprvalue="true"%>
+<%@ attribute name="value" required="false" rtexprvalue="true"%>
+<%@ attribute name="key" required="false" rtexprvalue="true"%>
+<%@ attribute name="inactive" required="false" rtexprvalue="true"%>
+<%@ attribute name="methodCall" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-fmt" prefix="fmt"%>
+<%@ taglib uri="tags-lams" prefix="lams"%>
+
+<%-- Check if bundle is set --%>
+
+
+
+
+
+
+
+
+
+
+<%--
+ Usually methodCall is selectTab, but the calling code can override methodCall if desired.
+ this is handy if the page needs different logic on initialisation and user switching tabs
+
+ -- onclick="${methodCall}(${id});return false;">
+
+--%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ class="active"
+
+
+
+
+ class="disabled"
+
+
+
Index: lams_tool_survey/web/WEB-INF/tags/TabBody.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/WEB-INF/tags/TabBody.tag,v
diff -u -r1.4 -r1.4.12.1
--- lams_tool_survey/web/WEB-INF/tags/TabBody.tag 9 May 2007 00:52:51 -0000 1.4
+++ lams_tool_survey/web/WEB-INF/tags/TabBody.tag 4 Jun 2016 10:23:43 -0000 1.4.12.1
@@ -1,52 +1,44 @@
-<%/****************************************************************
- * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
- * =============================================================
- * License Information: http://lamsfoundation.org/licensing/lams/2.0/
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2.0
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
- * USA
- *
- * http://www.gnu.org/licenses/gpl.txt
- * ****************************************************************
- */
-
-/**
- * TabBody.tag
- * Author: Mitchell Seaton
- * Description: Creates the body container for a tab element
- * Wiki:
- */
-
- %>
-<%@ tag body-content="scriptless"%>
-<%@ attribute name="id" required="true" rtexprvalue="true"%>
-<%@ attribute name="tabTitle" required="false" rtexprvalue="true"%>
-<%@ attribute name="titleKey" required="false" rtexprvalue="true"%>
-<%@ attribute name="page" required="false" rtexprvalue="true"%>
-<%@ taglib uri="tags-core" prefix="c"%>
-<%@ taglib uri="tags-bean" prefix="bean"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+<%/****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2.0
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+/**
+ * TabBody.tag
+ * Author: Mitchell Seaton
+ * Description: Creates the body container for a tab element
+ * Wiki:
+ */
+
+%>
+<%@ attribute name="id" required="true" rtexprvalue="true"%>
+<%@ attribute name="tabTitle" required="false" rtexprvalue="true"%>
+<%@ attribute name="titleKey" required="false" rtexprvalue="true"%>
+<%@ attribute name="page" required="false" rtexprvalue="true"%>
+<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-bean" prefix="bean"%>
+
+
+
+ active
+
+
+
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_survey/web/WEB-INF/tags/TabBodyArea.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `lams_tool_survey/web/WEB-INF/tags/TabBodys.tag'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_survey/web/WEB-INF/tags/TabName.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/WEB-INF/tags/TabName.tag,v
diff -u -r1.5 -r1.5.2.1
Binary files differ
Index: lams_tool_survey/web/WEB-INF/tags/Tabs.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/WEB-INF/tags/Tabs.tag,v
diff -u -r1.4 -r1.4.12.1
--- lams_tool_survey/web/WEB-INF/tags/Tabs.tag 9 May 2007 00:52:51 -0000 1.4
+++ lams_tool_survey/web/WEB-INF/tags/Tabs.tag 4 Jun 2016 10:23:43 -0000 1.4.12.1
@@ -1,69 +1,92 @@
-<%/****************************************************************
- * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
- * =============================================================
- * License Information: http://lamsfoundation.org/licensing/lams/2.0/
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2.0
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
- * USA
- *
- * http://www.gnu.org/licenses/gpl.txt
- * ****************************************************************
- */
-
-/**
- * Tabs.tag
- * Author: Mitchell Seaton
- * Description: Create a tab list from a input collection or nested Tab tags.
- * Wiki:
- */
-
- %>
-<%@ tag body-content="scriptless"%>
-<%@ attribute name="collection" type="java.util.Collection" required="false" rtexprvalue="true"%>
-<%@ attribute name="control" required="false" rtexprvalue="true"%>
-<%@ attribute name="useKey" required="false" rtexprvalue="true"%>
-<%@ taglib uri="tags-core" prefix="c"%>
-<%@ taglib uri="tags-lams" prefix="lams"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+<%/****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2.0
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+
+/**
+ * Tabs.tag
+ * Author: Fiona Malikoff
+ * Description: Create a hybrid panel header that contains a nav bar that acts like tabs.
+ */
+
+%>
+<%@ attribute name="control" required="false" rtexprvalue="true"%>
+<%@ attribute name="title" required="false" rtexprvalue="true"%>
+<%@ attribute name="refreshOnClickAction" required="false" rtexprvalue="true"%>
+<%@ attribute name="helpToolSignature" required="false" rtexprvalue="true"%>
+<%@ attribute name="helpModule" required="false" rtexprvalue="true"%>
+<%@ attribute name="extraControl" required="false" rtexprvalue="true"%>
+
+<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-lams" prefix="lams"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: lams_tool_survey/web/WEB-INF/tags/headItems.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/WEB-INF/tags/headItems.tag,v
diff -u -r1.5.2.1 -r1.5.2.2
--- lams_tool_survey/web/WEB-INF/tags/headItems.tag 10 Feb 2016 10:01:43 -0000 1.5.2.1
+++ lams_tool_survey/web/WEB-INF/tags/headItems.tag 4 Jun 2016 10:23:43 -0000 1.5.2.2
@@ -41,7 +41,9 @@
-
+
-
+
+
+
Index: lams_tool_survey/web/WEB-INF/tlds/lams/lams.tld
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/WEB-INF/tlds/lams/lams.tld,v
diff -u -r1.20.2.3 -r1.20.2.4
--- lams_tool_survey/web/WEB-INF/tlds/lams/lams.tld 5 Mar 2016 21:09:06 -0000 1.20.2.3
+++ lams_tool_survey/web/WEB-INF/tlds/lams/lams.tld 4 Jun 2016 10:23:43 -0000 1.20.2.4
@@ -178,7 +178,7 @@
cssorg.lamsfoundation.lams.web.tag.CssTagempty
-
+
Output stylesheet based on the user preferences.style
@@ -408,18 +408,34 @@
/WEB-INF/tags/TabBody.tag
+ TabBodys
+ /WEB-INF/tags/TabBodys.tag
+
+ TabName/WEB-INF/tags/TabName.tag
+ TabBodyArea
+ /WEB-INF/tags/TabBodyArea.tag
+
+ CKEditor/WEB-INF/tags/CKEditor.tagAuthoringButton/WEB-INF/tags/AuthoringButton.tag
-
+
+ AuthoringRatingCriteria
+ /WEB-INF/tags/AuthoringRatingCriteria.tag
+
+
+ Rating
+ /WEB-INF/tags/Rating.tag
+
+ headItems/WEB-INF/tags/headItems.tag
@@ -438,8 +454,24 @@
Page/WEB-INF/tags/Page.tag
+
+
+ TSTable
+ /WEB-INF/tags/TSTable.tag
+
+
+ Arrow
+ /WEB-INF/tags/Arrow.tag
+
+
+ AdvancedAccordian
+ /WEB-INF/tags/AdvancedAccordian.tag
+ RestrictedUsageAccordian
+ /WEB-INF/tags/RestrictedUsageAccordian.tag
+
+ ImgButtonWrapper/WEB-INF/tags/ImgButtonWrapper.tag
@@ -481,5 +513,13 @@
head/WEB-INF/tags/Head.tag
+
+ Comments
+ /WEB-INF/tags/Comments.tag
+
+
+ CommentsAuthor
+ /WEB-INF/tags/CommentsAuthor.tag
+
Index: lams_tool_survey/web/common/tabbedheader.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/common/tabbedheader.jsp,v
diff -u -r1.4.2.1 -r1.4.2.2
--- lams_tool_survey/web/common/tabbedheader.jsp 10 Feb 2016 10:01:43 -0000 1.4.2.1
+++ lams_tool_survey/web/common/tabbedheader.jsp 4 Jun 2016 10:23:43 -0000 1.4.2.2
@@ -3,13 +3,4 @@
-
-
-
-
-
-
-
-
-
-
+
Index: lams_tool_survey/web/includes/javascript/surveyitem.js
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/includes/javascript/surveyitem.js,v
diff -u -r1.6 -r1.6.2.1
--- lams_tool_survey/web/includes/javascript/surveyitem.js 17 Jan 2014 22:18:06 -0000 1.6
+++ lams_tool_survey/web/includes/javascript/surveyitem.js 4 Jun 2016 10:23:43 -0000 1.6.2.1
@@ -1,44 +1,27 @@
/*
- This is Survey Item instrcution area.
+ This is Survey Item instruction area.
*/
- var instructionTargetDiv = "instructionArea";
// Please set these 2 variables in JSP file for using tag reason:
// var removeInstructionUrl = "";
// var addInstructionUrl = "";
function removeInstruction(idx){
- //var id = "instructionItem" + idx;
- //Element.remove(id);
- var url= removeInstructionUrl;
var reqIDVar = new Date();
- var param = Form.serialize("instructionForm")+"&removeIdx="+idx+"&reqID="+reqIDVar.getTime();
- removeInstructionLoading();
- var myAjax = new Ajax.Updater(
- instructionTargetDiv,
- url,
- {
- method:'post',
- parameters:param,
- onComplete:removeInstructionComplete,
- evalScripts:true
- }
- );
+ var param = $("#instructionForm").serialize()+"&removeIdx="+idx+"&reqID="+reqIDVar.getTime();
+ var url= removeInstructionUrl+"?"+param;
+ showInstructionBusy();
+ $('#instructionArea').load(url,function(data) {
+ hideInstructionBusy();
+ });
}
function addInstruction(){
- var url= addInstructionUrl;
var reqIDVar = new Date();
- var param = Form.serialize("instructionForm")+"&reqID="+reqIDVar.getTime();
- addInstructionLoading();
- var myAjax = new Ajax.Updater(
- instructionTargetDiv,
- url,
- {
- method:'post',
- parameters:param,
- onComplete:addInstructionComplete,
- evalScripts:true
- }
- );
+ var param = $("#instructionForm").serialize()+"&reqID="+reqIDVar.getTime();
+ var url= addInstructionUrl+"?"+param;
+ showInstructionBusy();
+ $('#instructionArea').load(url,function() {
+ hideInstructionBusy();
+ });
}
function upItem(itemIdx){
if(itemIdx == 0)
@@ -55,50 +38,41 @@
switchValue(currId,repId);
}
function switchValue(currId,repId){
- var temp = $(repId).value;
- $(repId).value = $(currId).value;
- $(currId).value= temp;
+ var current = document.getElementById(currId);
+ var rep = document.getElementById(repId);
+ var temp = rep.value;
+ rep.value = current.value;
+ current.value= temp;
}
- function removeInstructionLoading(){
- showBusy(instructionTargetDiv);
+ function showInstructionBusy(){
+ $('#instructionAreaBusy').show();
}
- function removeInstructionComplete(){
- hideBusy(instructionTargetDiv);
-
+ function hideInstructionBusy(){
+ $('#instructionAreaBusy').hide();
}
- function addInstructionLoading(){
- showBusy(instructionTargetDiv);
+ function refreshCKEditors() {
+ // make sure all the ckeditors are refreshed, not just the validated ones
+ for (var i in CKEDITOR.instances) {
+ CKEDITOR.instances[i].updateElement();
+ }
}
- function addInstructionComplete(){
- hideBusy(instructionTargetDiv);
-
- }
- function showBusy(targetDiv){
- if($(targetDiv+"_Busy") != null){
- Element.show(targetDiv+"_Busy");
+
+ function submitSurveyItem(){
+ refreshCKEditors();
+ if (document.getElementById("instructionForm")) {
+ document.getElementById("instructionList").value = $("#instructionForm").serialize();
}
+ $.ajax({
+ data: $("#surveyItemForm").serialize(),
+ type: $("#surveyItemForm").attr('method'),
+ url: $("#surveyItemForm").attr('action'),
+ success: function(data) {
+ $('#questionInputArea').html(data);
+ }
+ });
}
- function hideBusy(targetDiv){
- if($(targetDiv+"_Busy") != null){
- Element.hide(targetDiv+"_Busy");
- }
- }
- function submitSurveyItem(){
- if($("instructionList") != null)
- $("instructionList").value = Form.serialize("instructionForm");
- $("surveyItemForm").submit();
- }
-
function cancelSurveyItem(){
- var win = null;
- if (window.hideMessage) {
- win = window;
- } else if (window.parent && window.parent.hideMessage) {
- win = window.parent;
- } else {
- win = window.top;
- }
- win.hideMessage();
+ hideMessage();
}
Index: lams_tool_survey/web/pages/authoring/addCondition.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/pages/authoring/addCondition.jsp,v
diff -u -r1.5.2.5 -r1.5.2.6
--- lams_tool_survey/web/pages/authoring/addCondition.jsp 26 Feb 2016 07:17:28 -0000 1.5.2.5
+++ lams_tool_survey/web/pages/authoring/addCondition.jsp 4 Jun 2016 10:23:43 -0000 1.5.2.6
@@ -2,59 +2,42 @@
<%@ include file="/common/taglibs.jsp"%>
-
-
- <%@ include file="/common/header.jsp"%>
-
-
-
-
-
-
- <%@ include file="/common/messages.jsp"%>
-
-
-
-
-
+
+
+
+
-
-
-
+
-
-
-
- <%-- Text search form fields are being included --%>
-
-
-<%-- This script will works when a new resoruce Condition submit in order to refresh "TaskList List" panel. --%>
+<%-- This script will works when a new resource Condition submit in order to refresh "TaskList List" panel. --%>
Index: lams_tool_survey/web/pages/authoring/conditions.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/pages/authoring/conditions.jsp,v
diff -u -r1.1 -r1.1.12.1
--- lams_tool_survey/web/pages/authoring/conditions.jsp 22 Oct 2008 00:11:48 -0000 1.1
+++ lams_tool_survey/web/pages/authoring/conditions.jsp 4 Jun 2016 10:23:43 -0000 1.1.12.1
@@ -2,109 +2,61 @@
- <%@ include file="/pages/authoring/conditionList.jsp"%>
+ <%@ include file="conditionList.jsp"%>
\ No newline at end of file
Index: lams_tool_survey/web/pages/authoring/parts/addchoicequestion.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_survey/web/pages/authoring/parts/addchoicequestion.jsp,v
diff -u -r1.11.2.3 -r1.11.2.4
--- lams_tool_survey/web/pages/authoring/parts/addchoicequestion.jsp 26 Feb 2016 07:17:28 -0000 1.11.2.3
+++ lams_tool_survey/web/pages/authoring/parts/addchoicequestion.jsp 4 Jun 2016 10:23:43 -0000 1.11.2.4
@@ -1,91 +1,80 @@
-
-
-
<%@ include file="/common/taglibs.jsp"%>
-
-
- <%@ include file="/common/header.jsp"%>
-
-
-
- <%-- used for surveyitem.js --%>
-
-
-
-
-
+ <%-- used for surveyitem.js --%>
+
+
- <%@ include file="/common/messages.jsp"%>
-
-
- <%-- This field is not belong STRUTS form --%>
-
-
-
-
- <%-- This value should be 1 or 2 --%>
-
-
-
+
+
+
-
-
-
-
+
-
-
+ <%@ include file="/common/messages.jsp"%>
+
+
+
+ <%-- This field is not belong STRUTS form --%>
+
+
+
+
+ <%-- This value should be 1 or 2 --%>
+
-