Index: lams_central/web/qb/collection.jsp
===================================================================
diff -u -rcb84acde58155494dc2cdf1bae82eac746dadfe2 -r374bf624aba202edb107a054eef3dde19000e0b4
--- lams_central/web/qb/collection.jsp (.../collection.jsp) (revision cb84acde58155494dc2cdf1bae82eac746dadfe2)
+++ lams_central/web/qb/collection.jsp (.../collection.jsp) (revision 374bf624aba202edb107a054eef3dde19000e0b4)
@@ -100,9 +100,8 @@
height: "100%",
autowidth:true,
shrinkToFit: true,
- <%-- Do not allow batch removing questions from the public collection --%>
- multiselect: !isPublicCollection,
- multiPageSelection: !isPublicCollection,
+ multiselect: true,
+ multiPageSelection: true,
viewrecords: true,
cellEdit: false,
cmTemplate: { title: false, search: false },
@@ -135,10 +134,6 @@
{name:'actions', index:'actions', classes: "stats-cell", sortable:false, width: 13, align: "center", formatter: actionsFormatter},
{name:'hasVersions', index:'hasVersions', width:0, hidden: true}
],
- beforeSelectRow: function(rowid, e) {
- // do not select rows at all
- return !isPublicCollection;
- },
loadComplete: function(data) {
//init thickbox
tb_init('a.thickbox');
@@ -470,8 +465,10 @@
};
function showQuestionsPrintPage() {
- let url = '';
- window.open(url, "_blank");
+ let questionsToPrint = $('#collection-grid').jqGrid('getGridParam','selarrrow'),
+ form = $('#print-questions-form');
+ $('input[name="qbQuestionUids"]', form).val(questionsToPrint);
+ form.submit();
}
@@ -511,11 +508,13 @@
- ">
-
-
+
+ ">
+
+
+
<%-- Do not display button for public and private collections --%>
@@ -664,5 +663,12 @@
+
+ ">
+
+
+
+