Index: lams_gradebook/web/gradebookCourseMonitor.jsp
===================================================================
diff -u -ra9f62e22a4fe8d5adcf84322fbd833c217028fde -r051ab022e4087566f23069b2299f804d791c8e49
--- lams_gradebook/web/gradebookCourseMonitor.jsp	(.../gradebookCourseMonitor.jsp)	(revision a9f62e22a4fe8d5adcf84322fbd833c217028fde)
+++ lams_gradebook/web/gradebookCourseMonitor.jsp	(.../gradebookCourseMonitor.jsp)	(revision 051ab022e4087566f23069b2299f804d791c8e49)
@@ -89,7 +89,7 @@
 			    ],
 			    loadError: function(xhr,st,err) {
 			    		jQuery("#organisationGrid").clearGridData();
-			   	 	$.jgrid.info_dialog("", "", "");
+			   	 	alert("");
 			    },
 			    subGrid: true,
 				subGridRowExpanded: function(subgrid_id, row_id) {
@@ -136,7 +136,7 @@
 					     ],
 					     loadError: function(xhr,st,err) {
 				    		jQuery("#"+subgrid_table_id).clearGridData();
-				    		$.jgrid.info_dialog("", "", "");
+				    		alert("");
 				    	 },
 				    	 formatCell: function(rowid, cellname,value, iRow, iCol) {
 					    	 if (cellname == "mark") {
@@ -213,7 +213,7 @@
 			    ],
 			    loadError: function(xhr,st,err) {
 			    	jQuery("#userView").clearGridData();
-			    	$.jgrid.info_dialog("", "", "");
+			    	alert("");
 			    },
 			    subGrid: true,
 				subGridRowExpanded: function(subgrid_id, row_id) {
@@ -262,7 +262,7 @@
 						     ],
 						     loadError: function(xhr,st,err) {
 						    	jQuery("#"+subgrid_table_id).clearGridData();
-						    	$.jgrid.info_dialog("", "", "");
+						    	alert("");
 						     },
 						     formatCell: function(rowid, cellname,value, iRow, iCol) {
 					    	 	if (cellname == "mark") {
@@ -302,7 +302,7 @@
 					    	 		var currRowData = jQuery("#"+subgrid_table_id).getRowData(rowid);
 						     		if (currRowData['marksAvailable'] != null && currRowData['marksAvailable'] != "") {
 						     			if (parseFloat(value) > parseFloat(currRowData['marksAvailable'])){
-						     				$.jgrid.info_dialog("", "", "");
+						     				displayCellErrorMessage(jQuery("#"+subgrid_table_id)[0], iRow, iCol, "", "", "");
 						     				jQuery("#"+subgrid_table_id).restoreCell( iRow, iCol);
 						     				throw("Mark must be lower than maximum mark");
 						     			}
@@ -328,7 +328,7 @@
 						     	$("#organisationGrid").trigger("reloadGrid");
 						     },
 						     errorCell: function(serverresponse, status) {
-						     	$.jgrid.info_dialog("", "", "");
+						     	alert("");
 						     },
 							 gridComplete: function(){
 								processLessonDateFields( lessonDatesHidden, jQuery("#"+subgrid_table_id) );