Index: lams_central/web/qb/collectionList.jsp
===================================================================
diff -u -r5b9f590b301c276f8df06b30c26981b0eb634e69 -r54a3c302d29d64b55efa18189083dadd13c51708
--- lams_central/web/qb/collectionList.jsp (.../collectionList.jsp) (revision 5b9f590b301c276f8df06b30c26981b0eb634e69)
+++ lams_central/web/qb/collectionList.jsp (.../collectionList.jsp) (revision 54a3c302d29d64b55efa18189083dadd13c51708)
@@ -72,14 +72,14 @@
rowList:[10,20,30,40,50,100],
rowNum: 10,
colNames:[
- '',
- '',
+ '',
+ '',
"questionType",
"questionVersion",
- '',
+ '',
// this column is hidden, so data coming from controller can be the same as for single collection view
'usage',
- ''
+ ''
],
colModel:[
{name:'id', index:'question_id', sortable:true, width: 10},
@@ -98,7 +98,7 @@
},
loadError: function(xhr,st,err) {
collectionGrid.clearGridData();
- alert('');
+ alert('');
}
}).jqGrid('filterToolbar');
});
@@ -119,12 +119,12 @@
// add a new collection
function addCollection() {
// get collection name from a pop up
- var name = prompt(''),
+ var name = prompt(''),
lower = name.toLowerCase();
// check if a collection with same name already exists
$('.collection-grid').each(function(){
if (String($(this).data('collectionName')).trim().toLowerCase() == lower) {
- alert('');
+ alert('');
name = null;
return false;
}