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