summaryrefslogtreecommitdiffstats
path: root/apps/encryption/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-21 12:19:15 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-21 12:19:15 +0200
commit490e779424178977c143eba94a139f249eb2416f (patch)
treec4473bf49446f11e912c5f1ece1ad5dd3b642727 /apps/encryption/js
parent4a2f8f81ca8dcc91c5b784077620517ec1011724 (diff)
downloadnextcloud-server-490e779424178977c143eba94a139f249eb2416f.tar.gz
nextcloud-server-490e779424178977c143eba94a139f249eb2416f.zip
doc and indent
Diffstat (limited to 'apps/encryption/js')
-rw-r--r--apps/encryption/js/encryption.js4
-rw-r--r--apps/encryption/js/settings-personal.js8
2 files changed, 8 insertions, 4 deletions
diff --git a/apps/encryption/js/encryption.js b/apps/encryption/js/encryption.js
index 32b50553f77..7ed49f77311 100644
--- a/apps/encryption/js/encryption.js
+++ b/apps/encryption/js/encryption.js
@@ -9,6 +9,10 @@ if (!OC.Encryption) {
OC.Encryption = {};
}
+/**
+ * @namespace
+ * @memberOf OC
+ */
OC.Encryption = {
displayEncryptionWarning: function () {
if (!OC.Notification.isHidden()) {
diff --git a/apps/encryption/js/settings-personal.js b/apps/encryption/js/settings-personal.js
index bf3aeaad915..e36f10a244e 100644
--- a/apps/encryption/js/settings-personal.js
+++ b/apps/encryption/js/settings-personal.js
@@ -17,10 +17,10 @@ OC.Encryption = {
OC.generateUrl('/apps/encryption/ajax/updatePrivateKeyPassword'),
{oldPassword: oldPrivateKeyPassword, newPassword: newPrivateKeyPassword}
).success(function (response) {
- OC.msg.finishedSuccess('#encryption .msg', response.message);
- }).fail(function (response) {
- OC.msg.finishedError('#encryption .msg', response.responseJSON.message);
- });
+ OC.msg.finishedSuccess('#encryption .msg', response.message);
+ }).fail(function (response) {
+ OC.msg.finishedError('#encryption .msg', response.responseJSON.message);
+ });
}
};