diff options
Diffstat (limited to 'apps/comments/js/commentstabview.js')
-rw-r--r-- | apps/comments/js/commentstabview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js index f60968616a2..2256bea943e 100644 --- a/apps/comments/js/commentstabview.js +++ b/apps/comments/js/commentstabview.js @@ -482,9 +482,9 @@ $form.find('.message').prop('disabled', false); if(!_.isUndefined(commentId)) { - OC.Notification.showTemporary(t('comments', 'Error occurred while updating comment with id {id}', {id: commentId})); + OC.Notification.show(t('comments', 'Error occurred while updating comment with id {id}', {id: commentId}), {type: 'error'}); } else { - OC.Notification.showTemporary(t('comments', 'Error occurred while posting comment')); + OC.Notification.show(t('comments', 'Error occurred while posting comment'), {type: 'error'}); } }, |