Use Toastr to notify
This commit is contained in:
parent
38e960eb3f
commit
6688ae66fa
@ -169,7 +169,7 @@ script.
|
|||||||
})
|
})
|
||||||
.fail(function(xhr) {
|
.fail(function(xhr) {
|
||||||
if (console) console.log('Error fetching comment: ', xhr);
|
if (console) console.log('Error fetching comment: ', xhr);
|
||||||
statusBarSet('error', 'Error ' + xhr.status + ' entering edit mode.', 'pi-warning');
|
toastr.error('Error ' + xhr.status + ' entering edit mode.');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user