Use Toastr to notify

This commit is contained in:
Pablo Vazquez 2017-09-25 00:37:03 +02:00
parent 38e960eb3f
commit 6688ae66fa

View File

@ -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.');
}); });
}); });