Index: lams_learning/web/kumalive/kumaliveReport.jsp
===================================================================
diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r1f7150d6142f994d113ba543736a9f7c0e154337
--- lams_learning/web/kumalive/kumaliveReport.jsp (.../kumaliveReport.jsp) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80)
+++ lams_learning/web/kumalive/kumaliveReport.jsp (.../kumaliveReport.jsp) (revision 1f7150d6142f994d113ba543736a9f7c0e154337)
@@ -25,7 +25,7 @@
// Create the organisation view grid with sub grid for users
$("#organisationGrid").jqGrid({
datatype : "json",
- url : "learning/kumalive.do?method=getReportOrganisationData&organisationID=${param.organisationID}",
+ url : "learning/kumalive/getReportOrganisationData.do?organisationID=${param.organisationID}",
height : "100%",
// use new theme
guiStyle : "bootstrap",
@@ -74,9 +74,8 @@
// fetch rubrics first so we can build column model
$.ajax({
- url: "learning/kumalive.do",
+ url: "learning/kumalive/getReportKumaliveRubrics.do",
data: {
- 'method' : 'getReportKumaliveRubrics',
'kumaliveId' : kumaliveId
},
dataType: "json",
@@ -95,7 +94,7 @@
$("#" + user_subgrid_table_id).jqGrid({
datatype : 'json',
- url : "learning/kumalive.do?method=getReportKumaliveData&kumaliveId="
+ url : "learning/kumalive/getReportKumaliveData.do?kumaliveId="
+ kumaliveId,
colNames : [''].concat(columnNames),
colModel : [
@@ -128,7 +127,7 @@
$("#" + score_subgrid_table_id).jqGrid({
datatype : 'json',
- url : "learning/kumalive.do?method=getReportUserData&kumaliveId="
+ url : "learning/kumalive/getReportUserData.do?kumaliveId="
+ kumaliveId + "&userId=" + userId,
colNames : ['#'].concat(columnNames),
colModel : [
@@ -160,11 +159,11 @@
});
function exportAll(){
- blockExportButtons('learning/kumalive.do?method=exportKumalives&organisationID=${param.organisationID}');
+ blockExportButtons('learning/kumalive/exportKumalives.do?organisationID=${param.organisationID}');
}
function exportSelected(){
- blockExportButtons('learning/kumalive.do?method=exportKumalives&kumaliveIds='
+ blockExportButtons('learning/kumalive/exportKumalives.do?kumaliveIds='
// return an array of IDs of rows (Kumalives) selected on all pages
+ JSON.stringify($("#organisationGrid").jqGrid('getGridParam','selarrrow')));
}