Index: lams_central/web/common/taglibs.jsp
===================================================================
diff -u -rb16efd85f61de9c2aab7d2fbf6364681eb15d458 -r1e03bebbe12335f254dbfab6ace573b14cfda33b
--- lams_central/web/common/taglibs.jsp (.../taglibs.jsp) (revision b16efd85f61de9c2aab7d2fbf6364681eb15d458)
+++ lams_central/web/common/taglibs.jsp (.../taglibs.jsp) (revision 1e03bebbe12335f254dbfab6ace573b14cfda33b)
@@ -5,3 +5,4 @@
<%@ taglib uri="tags-fmt" prefix="fmt" %>
<%@ taglib uri="tags-lams" prefix="lams" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
Index: lams_central/web/qb/collection.jsp
===================================================================
diff -u -r03d284a4bdb2a2f2d6f57d0810e465f437c25155 -r1e03bebbe12335f254dbfab6ace573b14cfda33b
--- lams_central/web/qb/collection.jsp (.../collection.jsp) (revision 03d284a4bdb2a2f2d6f57d0810e465f437c25155)
+++ lams_central/web/qb/collection.jsp (.../collection.jsp) (revision 1e03bebbe12335f254dbfab6ace573b14cfda33b)
@@ -93,7 +93,7 @@
collectionGrid.jqGrid({
guiStyle: "bootstrap",
iconSet: 'fontAwesome',
- caption: '',
+ caption: '',
datatype: "xml",
url: "qb/collection/getCollectionGridData.do?view=single&collectionUid=${collection.uid}",
height: "100%",
@@ -114,13 +114,13 @@
recordpos: "left",
hidegrid: false,
colNames:[
- '',
- '',
+ '',
+ '',
"questionType",
"questionVersion",
- '',
- '',
- '',
+ '',
+ '',
+ '',
"hasVersions"
],
colModel:[
@@ -144,7 +144,7 @@
},
loadError: function(xhr,st,err) {
collectionGrid.clearGridData();
- alert('');
+ alert('');
},
subGrid : true,
subGridOptions: {
@@ -169,13 +169,13 @@
cellEdit:false,
pager: false,
colNames: [
- '',
- '',
+ '',
+ '',
"questionType",
"questionVersion",
- '',
- '',
- ''
+ '',
+ '',
+ ''
],
colModel: [
{name:'id', index:'question_id', sortable:false, hidden:true, width: 10},
@@ -189,7 +189,7 @@
],
loadError: function(xhr,st,err) {
jQuery("#"+subgrid_table_id).clearGridData();
- alert('');
+ alert('');
}
});
}
@@ -209,13 +209,13 @@
//close editing area on validation failure
if (!value.trim()) {
$('.editable-open').editableContainer('hide', 'cancel');
- return '';
+ return '';
}
},
//assume server response: 200 Ok {status: 'error', msg: 'field cannot be empty!'}
success: function(response, newValue) {
if (response.created == 'false') {
- alert('');
+ alert('');
}
}
//hide and show pencil on showing and hiding editing widget
@@ -258,9 +258,9 @@
// auxiliary formatter for jqGrid's question statistics column
function actionsFormatter(cellvalue){
var cellhtml = "'>";
+ + "\", \"_blank\")' title=''>";
- cellhtml += "' href='?qbQuestionUid="
+ cellhtml += "' href='?qbQuestionUid="
+ cellvalue + "&oldCollectionUid=${collection.uid}&KeepThis=true&TB_iframe=true&modal=true' class='thickbox'>";
cellhtml += "";
cellhtml += "";
@@ -274,28 +274,28 @@
var questionType;
switch (questionTypeInt) {
case '1':
- questionType = "";
+ questionType = "";
break;
case '2':
- questionType = "";
+ questionType = "";
break;
case '3':
- questionType = "";
+ questionType = "";
break;
case '4':
- questionType = "";
+ questionType = "";
break;
case '5':
- questionType = "";
+ questionType = "";
break;
case '6':
- questionType = "";
+ questionType = "";
break;
case '7':
- questionType = "";
+ questionType = "";
break;
case '8':
- questionType = "";
+ questionType = "";
break;
}
@@ -317,9 +317,9 @@
// remove a collection
function removeCollection() {
-
+
-
+
if (confirm('${label.qb.collection.remove.confirm}')) {
$.ajax({
@@ -441,7 +441,7 @@
}).done(function(response){
if (response == 'fail') {
// not all questions were removed
- alert('');
+ alert('');
}
document.location.reload();
});
@@ -633,4 +633,4 @@