fix credentials saving success message notification color (#18469)

fix credentials saving success message notification color
This commit is contained in:
John Molakvoæ 2019-12-19 08:48:46 +01:00 committed by GitHub
commit 972c39bafc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);