.
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
// For eg. A message box showing that the status has been changed
|
// For eg. A message box showing that the status has been changed
|
||||||
})
|
})
|
||||||
.fail(function (data) {
|
.fail(function (data) {
|
||||||
toastr.error(`Failed to change state`);
|
toastr.error(`Failed to change state\n${data.status}`);
|
||||||
})
|
})
|
||||||
.always(function () {
|
.always(function () {
|
||||||
console.log('[Done]');
|
console.log('[Done]');
|
||||||
|
|||||||
Reference in New Issue
Block a user