From 40228c0c2b17c800fa5e227b4d2e8d074da82075 Mon Sep 17 00:00:00 2001 From: noveens Date: Wed, 15 Feb 2017 01:56:00 +0530 Subject: added quit option in commentstabview.js added quit option in notif in app.js added quit option in notif in file-upload.js added quit option in notif in fileinfomodel.js added quit option in notif in filelist.js added quit option in notif in filelist.js added quit option in notif in tagsplugin.js added quit option in notif in statusmanager.js added quit option in notif in external.js added quit option in notif in versionstabview.js added quit option in notif in notification.js changes according to the latest review. timeout removed since there is a button to close it translation capability added typo fixed test files updated small errors fixed Signed-off-by: Morris Jobke --- apps/comments/js/commentstabview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/comments') 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'}); } }, -- cgit v1.2.3