Browse Source

fix credentials saving success message notification color

was red, now green

Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
pull/18469/head
Sascha Wiswedel 7 years ago
parent
commit
f63156976b
No known key found for this signature in database GPG Key ID: DC336C0F05DBA0CD
  1. 2
      apps/files_external/js/statusmanager.js

2
apps/files_external/js/statusmanager.js

@ -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);

Loading…
Cancel
Save