Comments: Use toastr for notifications

This commit is contained in:
2017-06-12 19:47:00 +02:00
parent b091044bc2
commit 5955b71459
2 changed files with 4 additions and 3 deletions

View File

@@ -102,6 +102,7 @@ script.
if (console) console.log('Error saving comment:', xhr.responseText);
show_comment_button_error("Houston! Try again?");
}
toastr.error(xhr.responseText, 'Error saving comment');
})
.done(function(comment_node_id) {
$button