Index: lams_gradebook/web/gradebookMonitor.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_gradebook/web/gradebookMonitor.jsp,v diff -u -r1.1.2.12 -r1.1.2.12.2.1 --- lams_gradebook/web/gradebookMonitor.jsp 10 Jun 2009 05:08:35 -0000 1.1.2.12 +++ lams_gradebook/web/gradebookMonitor.jsp 16 Nov 2009 02:25:07 -0000 1.1.2.12.2.1 @@ -37,9 +37,9 @@ var conf; if (marksReleased) { - conf = confirm(''); + conf = confirm(""); } else { - conf = confirm(''); + conf = confirm(""); } if (conf) { @@ -55,7 +55,7 @@ displayReleaseOption(); } else { - info_dialog('', '', ''); + info_dialog("", "", ""); } }); } @@ -77,7 +77,7 @@ // Create the user view grid with sub grid for activities jQuery("#userView").jqGrid({ - caption: '', + caption: "", datatype: "xml", url: "/gradebook/gradebook.do?dispatch=getUserGridData&view=monUserView&lessonID=${lessonDetails.lessonID}", height: "100%", @@ -92,11 +92,11 @@ rowNum:10, cellurl: "/gradebook/gradebookMonitoring.do?dispatch=updateUserLessonGradebookData&lessonID=${lessonDetails.lessonID}", colNames:["", - '', - '', - '', - '', - '' + "", + "", + "", + "", + "" ], colModel:[ {name:'id', index:'id', sortable:false, editable:false, hidden:true, search:false, hidedlg:true}, @@ -108,7 +108,7 @@ ], loadError: function(xhr,st,err) { jQuery("#userView").clearGridData(); - info_dialog('', '', ''); + info_dialog("", "", ""); }, subGrid: true, subGridRowExpanded: function(subgrid_id, row_id) { @@ -130,13 +130,13 @@ colNames: [ '', '', - '', - '', - '', - '', - '', - '', - '' + "", + "", + "", + "", + "", + "", + "" ], colModel: [ {name:'id', index:'id', sortable:false, hidden:true, hidedlg:true}, @@ -151,7 +151,7 @@ ], loadError: function(xhr,st,err) { jQuery("#"+subgrid_table_id).clearGridData(); - info_dialog('', '', ''); + info_dialog("", "", ""); }, formatCell: function(rowid, cellname,value, iRow, iCol) { if (cellname == "mark") { @@ -191,7 +191,7 @@ var currRowData = jQuery("#"+subgrid_table_id).getRowData(rowid); if (currRowData['marksAvailable'] != null && currRowData['marksAvailable'] != "") { if (parseFloat(value) > parseFloat(currRowData['marksAvailable'])){ - info_dialog('', '', ''); + info_dialog("", "", ""); jQuery("#"+subgrid_table_id).restoreCell( iRow, iCol); throw("Mark must be lower than maximum mark"); } @@ -219,7 +219,7 @@ } }, errorCell: function(serverresponse, status) { - info_dialog('', '', ''); + info_dialog("", "", ""); }, gridComplete: function(){ toolTip($(".jqgrow")); @@ -266,7 +266,7 @@ // Creating activity view with sub learner view jQuery("#activityView").jqGrid({ - caption: '', + caption: "", datatype: "xml", url: "/gradebook/gradebook.do?dispatch=getActivityGridData&view=monActivityView&lessonID=${lessonDetails.lessonID}", height: "100%", @@ -280,10 +280,10 @@ colNames:[ '', '', - '', - '', - '', - '' + "", + "", + "", + "" ], colModel:[ {name:'id', index:'id', sortable:false, hidden:true, hidedlg:true}, @@ -295,7 +295,7 @@ ], loadError: function(xhr,st,err) { jQuery("#activityView").clearGridData(); - info_dialog('', '', ''); + info_dialog("", "", ""); }, imgpath: 'includes/javascript/jqgrid/themes/basic/images', subGrid: true, @@ -322,12 +322,12 @@ colNames: [ '', '', - '', - '', - '', - '', - '', - '' + "", + "", + "", + "", + "", + "" ], colModel:[ {name:'id', index:'id', sortable:false, editable:false, hidden:true, search:false, hidedlg:true}, @@ -341,7 +341,7 @@ ], loadError: function(xhr,st,err) { jQuery("#"+subgrid_table_id).clearGridData(); - info_dialog('', '', ''); + info_dialog("", "", ""); }, formatCell: function(rowid, cellname,value, iRow, iCol) { if (cellname == "mark") { @@ -381,7 +381,7 @@ var currRowData = jQuery("#"+subgrid_table_id).getRowData(rowid); if (currRowData['marksAvailable'] != null && currRowData['marksAvailable'] != "") { if (parseFloat(value) > parseFloat(currRowData['marksAvailable'])){ - info_dialog('', '', ''); + info_dialog("", "", ""); jQuery("#"+subgrid_table_id).restoreCell( iRow, iCol); throw("Mark must be lower than maximum mark"); } @@ -405,7 +405,7 @@ } }, errorCell: function(serverresponse, status) { - info_dialog('', '', ''); + info_dialog("", "", ""); }, gridComplete: function(){ toolTip($(".jqgrow")); // applying tooltips for this grid @@ -442,7 +442,7 @@ // Enable show/hide columns jQuery("#activityView").navButtonAdd('#activityViewPager',{ caption: "", - title: '', + title: "", buttonimg:"images/table_edit.png", onClickButton: function(){ jQuery("#activityView").setColumns();