summaryrefslogtreecommitdiffstats
path: root/settings/js/personal.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r--settings/js/personal.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 165b55bcdae..f3fcf614bfa 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -330,8 +330,9 @@ $(document).ready(function () {
$('#sslCertificate tbody').append(row);
},
- fail: function (e, data) {
- OC.Notification.showTemporary(t('settings', 'An error occured. Please upload an ASCII-encoded PEM certificate.'));
+ fail: function () {
+ OC.Notification.showTemporary(
+ t('settings', 'An error occurred. Please upload an ASCII-encoded PEM certificate.'));
}
});
@@ -340,8 +341,9 @@ $(document).ready(function () {
});
});
-OC.Encryption = {
-};
+if (!OC.Encryption) {
+ OC.Encryption = {};
+}
OC.Encryption.msg = {
start: function (selector, msg) {