fix credentials saving success message notification color

was red, now green

Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
This commit is contained in:
Sascha Wiswedel 2019-12-18 15:32:39 +01:00
parent c44fd46c8c
commit f63156976b
No known key found for this signature in database
GPG Key ID: DC336C0F05DBA0CD
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ OCA.Files_External.StatusManager = {
}
},
success: function (data) {
OC.Notification.show(t('files_external', 'Credentials saved'), {type: 'error'});
OC.Notification.show(t('files_external', 'Credentials saved'), {type: 'success'});
dialog.ocdialog('close');
/* Trigger status check again */
OCA.Files_External.StatusManager.recheckConnectivityForMount([OC.basename(data.mountPoint)], true);