From: Vincent Petry Date: Fri, 4 Oct 2013 09:11:24 +0000 (+0200) Subject: Shortened notification message that was too long X-Git-Tag: v6.0.0alpha2~104^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9d2595a7c59048fc6ed3777a888e03d43a8f03f9;p=nextcloud-server.git Shortened notification message that was too long The message for invalid private key was too long and didn't fit in the notification box. This fix reduces the message to fit properly by removing the extra information. --- diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 55ee89e17a2..899bc6469e5 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -69,7 +69,7 @@ Files={ return; } if (initStatus === '1') { // encryption tried to init but failed - OC.Notification.show(t('files_encryption', 'Your private key is not valid! Likely your password was changed outside the ownCloud system (e.g. your corporate directory). You can update your private key password in your personal settings to recover access to your encrypted files.')); + OC.Notification.showHtml(t('files_encryption', 'Invalid private key for Encryption App. Please update your private key password in your personal settings to recover access to your encrypted files.')); return; } if (encryptedFiles === '1') {