Index: lams_monitoring/web/includes/javascript/monitorLesson.js =================================================================== diff -u -r04dc8d4e903e91324e653a2ff1c66cbacb057873 -r9f5e15981f571bc39cab273bf5393cf562254145 --- lams_monitoring/web/includes/javascript/monitorLesson.js (.../monitorLesson.js) (revision 04dc8d4e903e91324e653a2ff1c66cbacb057873) +++ lams_monitoring/web/includes/javascript/monitorLesson.js (.../monitorLesson.js) (revision 9f5e15981f571bc39cab273bf5393cf562254145) @@ -444,7 +444,8 @@ labelColour = 'danger'; break; } - $('#lessonStateLabel').attr('class', 'btn btn-sm btn-' + labelColour).html(label + ' '); + $('#lessonStateLabel').attr('class', 'btn btn-sm btn-' + labelColour) + .html(label + (lessonStateId == 7 ? '' : '')); // update available options in change state dropdown menu var selectField = $('#lessonStateField'); @@ -766,7 +767,8 @@ case 7: showConfirm(LABELS.LESSON_REMOVE_ALERT, function() { showConfirm(LABELS.LESSON_REMOVE_DOUBLECHECK_ALERT, function() { - method = "removeLesson"; + // this is a callback, so standard processing won't work here + applyStateChange(state, "removeLesson"); }); }); break; Index: lams_monitoring/web/monitor.jsp =================================================================== diff -u -r6859554ab9421fe19d47ab72fb34a5c03ea2a89a -r9f5e15981f571bc39cab273bf5393cf562254145 --- lams_monitoring/web/monitor.jsp (.../monitor.jsp) (revision 6859554ab9421fe19d47ab72fb34a5c03ea2a89a) +++ lams_monitoring/web/monitor.jsp (.../monitor.jsp) (revision 9f5e15981f571bc39cab273bf5393cf562254145) @@ -330,69 +330,77 @@
- -
-
+ + +
+ + +
- -
-
-
-
-
- - -
+ +
+
+ +
+
+ + +
- -
-
-
- - +
+
+ + +
+
- -
- -
+ +
-
- - - - +
+ + + + +
-
+