Index: lams_gradebook/web/gradebookMonitorContent.jsp =================================================================== diff -u -rde8a34efc3db82bd2746e1357041208a3d5828f6 -r87c236112358ed9c229876a63816b5e14b17f2af --- lams_gradebook/web/gradebookMonitorContent.jsp (.../gradebookMonitorContent.jsp) (revision de8a34efc3db82bd2746e1357041208a3d5828f6) +++ lams_gradebook/web/gradebookMonitorContent.jsp (.../gradebookMonitorContent.jsp) (revision 87c236112358ed9c229876a63816b5e14b17f2af) @@ -39,7 +39,7 @@ $("#markChartBusy").css("display", "block"); drawHistogram('markChartDiv', 'gradebook/gradebookMonitoring/getMarkChartData.do?lessonID=${lessonDetails.lessonID}', - '', ''); + '', ''); graphLoaded = true; $("#markChartBusy").css("display", "none"); } @@ -106,7 +106,7 @@ guiStyle: "bootstrap4", iconSet: 'fontAwesomeSolid', autoencode:false, - caption: "", + caption: "", datatype: "xml", url: "gradebook/gradebook/getUserGridData.do?view=monUserView&lessonID=${lessonDetails.lessonID}", height: "100%", @@ -122,13 +122,13 @@ rowNum:10, cellurl: "gradebook/gradebookMonitoring/updateUserLessonGradebookData.do?&lessonID=${lessonDetails.lessonID}", colNames:["", - "", - "", - "", - "", - "", - "", - "", + "", + "", + "", + "", + "", + "", + "", 'portraitId', 'hasArchivedMarks' ], @@ -152,7 +152,7 @@ ], loadError: function(xhr,st,err) { jQuery("#userView").clearGridData(); - alert(""); + alert(""); }, subGrid: true, @@ -182,14 +182,14 @@ colNames: [ '', '', - "", - "", - "", - "", - "", - "", - "", - "" + "", + "", + "", + "", + "", + "", + "", + "" ], colModel: [ {name:'id', index:'id', sortable:false, hidden:true, hidedlg:true}, @@ -215,7 +215,7 @@ ], loadError: function(xhr,st,err) { jQuery("#"+subgrid_table_id).clearGridData(); - alert(""); + alert(""); }, formatCell: function(rowid, cellname,value, iRow, iCol) { if (cellname == "mark") { @@ -255,7 +255,7 @@ var currRowData = jQuery("#"+subgrid_table_id).getRowData(rowid); if (currRowData['marksAvailable'] != null && currRowData['marksAvailable'] != "") { if (parseFloat(value) > parseFloat(currRowData['marksAvailable'])){ - displayCellErrorMessage(jQuery("#"+subgrid_table_id)[0], iRow, iCol, "", "", ""); + displayCellErrorMessage(jQuery("#"+subgrid_table_id)[0], iRow, iCol, "", "", ""); jQuery("#"+subgrid_table_id).restoreCell( iRow, iCol); throw("Mark must be lower than maximum mark"); } @@ -289,7 +289,7 @@ } }, errorCell: function(serverresponse, status) { - alert(""); + alert(""); }, gridComplete: function(){ fixPagerInCenter(subgrid_table_id+"_pager", 1); @@ -320,7 +320,7 @@ // add a marker for unsetting result editablePossibleValues.unshift({ value : -1, - text : '' + text : '' }); outcomeValues[this.mappingId] = editablePossibleValues; // build HTML code for x-editable @@ -336,7 +336,7 @@ mappingId = editable.attr('mappingId'); editable.editable({ type: 'select', - emptytext : '', + emptytext : '', pk : mappingId, // a trick to send extra param to the server name : userID, @@ -383,14 +383,14 @@ sortname: "sequence", pager: false, colNames: [ - "", - "", - "", - "", - "", - "", - "", - "" + "", + "", + "", + "", + "", + "", + "", + "" ], colModel: [ {name:'id', index:'id', sortable:false, editable: false ,width:140, align:"right"}, @@ -410,7 +410,7 @@ ], loadError: function(xhr,st,err) { jQuery("#"+subgrid_table_id).clearGridData(); - alert(""); + alert(""); } }); } @@ -433,7 +433,7 @@ guiStyle: "bootstrap4", iconSet: 'fontAwesomeSolid', autoencode:false, - caption: "", + caption: "", datatype: "xml", url: "gradebook/gradebook/getActivityGridData.do?view=monActivityView&lessonID=${lessonDetails.lessonID}", height: "100%", @@ -449,10 +449,10 @@ colNames:[ '', '', - "", - "", - "", - "" + "", + "", + "", + "" ], colModel:[ {name:'id', index:'id', sortable:false, hidden:true, hidedlg:true}, @@ -464,7 +464,7 @@ ], loadError: function(xhr,st,err) { jQuery("#activityView").clearGridData(); - alert(""); + alert(""); }, beforeEditCell : function() { $(this).data('isCellEdited', true); @@ -499,13 +499,13 @@ colNames: [ '', '', - "", - "", - "", - "", - "", - "", - "", + "", + "", + "", + "", + "", + "", + "", 'portraitId', 'activityURL', 'hasArchivedMarks' @@ -530,7 +530,7 @@ ], loadError: function(xhr,st,err) { jQuery("#"+subgrid_table_id).clearGridData(); - alert(""); + alert(""); }, beforeEditCell : function() { $("#activityView").data('isCellEdited', true); @@ -575,7 +575,7 @@ var currRowData = jQuery("#"+subgrid_table_id).getRowData(rowid); if (currRowData['marksAvailable'] != null && currRowData['marksAvailable'] != "") { if (parseFloat(value) > parseFloat(currRowData['marksAvailable'])){ - displayCellErrorMessage(jQuery("#"+subgrid_table_id)[0], iRow, iCol, "", "", ""); + displayCellErrorMessage(jQuery("#"+subgrid_table_id)[0], iRow, iCol, "", "", ""); jQuery("#"+subgrid_table_id).restoreCell( iRow, iCol); throw("Mark must be lower than maximum mark"); } @@ -603,7 +603,7 @@ } }, errorCell: function(serverresponse, status) { - alert(""); + alert(""); }, gridComplete: function(){ initializePortraitPopover(''); @@ -635,14 +635,14 @@ sortorder: "asc", sortname: "sequence", colNames: [ - "", - "", - "", - "", - "", - "", - "", - "" + "", + "", + "", + "", + "", + "", + "", + "" ], colModel: [ {name:'id', index:'id', sortable:false, editable: false, align:"right"}, @@ -662,7 +662,7 @@ ], loadError: function(xhr,st,err) { jQuery("#"+subgrid_table_id).clearGridData(); - alert(""); + alert(""); }, beforeEditCell : function() { $("#activityView").data('isCellEdited', true);