Index: lams_monitoring/web/emailnotifications/lessonNotifications5.jsp =================================================================== diff -u -rf932b797330099220514e4c2acef885899567207 -rf3eca03fe33106d66158de0543c29c75f7333ba2 --- lams_monitoring/web/emailnotifications/lessonNotifications5.jsp (.../lessonNotifications5.jsp) (revision f932b797330099220514e4c2acef885899567207) +++ lams_monitoring/web/emailnotifications/lessonNotifications5.jsp (.../lessonNotifications5.jsp) (revision f3eca03fe33106d66158de0543c29c75f7333ba2) @@ -21,7 +21,6 @@ - @@ -111,7 +110,6 @@ } else { //get the timestamp in milliseconds since midnight Jan 1, 1970 var scheduleDate = datePicker.viewDate; - debugger; if (scheduleDate == null) { return; } @@ -128,12 +126,14 @@ dataType: 'json', type: 'post', success: function (json) { + let showToast = window.parent.showToast; + if (json.isSuccessfullySent) { - alert(""); + showToast(""); } else if (json.isSuccessfullyScheduled) { - alert(""); + showToast(""); } else { - alert(""); + showToast(""); } } }); @@ -185,7 +185,7 @@
-
+