This commit is contained in:
Ross
2022-01-07 11:41:19 +00:00
parent 136a3722a7
commit 223aae4c9c
+2 -2
View File
@@ -22,7 +22,7 @@
// show some message according to the response.
// For eg. A message box showing that the status has been changed
})
.done(function (data) {
.fail(function (data) {
toastr.error(`Failed to change state`);
})
.always(function () {
@@ -50,7 +50,7 @@
// show some message according to the response.
// For eg. A message box showing that the status has been changed
})
.done(function (data) {
.fail(function (data) {
toastr.error(`Failed to change state`);
})
.always(function () {