This commit is contained in:
Ross
2022-01-07 11:37:01 +00:00
parent 4be1611c31
commit 9c1bebdb58
+6
View File
@@ -22,6 +22,9 @@
// show some message according to the response.
// For eg. A message box showing that the status has been changed
})
.done(function (data) {
toastr.error(`Failed to change state`);
})
.always(function () {
console.log('[Done]');
})
@@ -47,6 +50,9 @@
// show some message according to the response.
// For eg. A message box showing that the status has been changed
})
.done(function (data) {
toastr.error(`Failed to change state`);
})
.always(function () {
console.log('[Done]');
})