]> source.dussan.org Git - nextcloud-server.git/commitdiff
doc and indent
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 21 Apr 2015 10:19:15 +0000 (12:19 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 21 Apr 2015 10:19:15 +0000 (12:19 +0200)
apps/encryption/js/encryption.js
apps/encryption/js/settings-personal.js

index 32b50553f7783a89c80bd153fb08d6fac1dc49f0..7ed49f77311be426fef24c8c7e63057bdc36d569 100644 (file)
@@ -9,6 +9,10 @@ if (!OC.Encryption) {
        OC.Encryption = {};
 }
 
+/**
+ * @namespace
+ * @memberOf OC
+ */
 OC.Encryption = {
        displayEncryptionWarning: function () {
                if (!OC.Notification.isHidden()) {
index bf3aeaad91549ea3e6d974f2573bfac3bb0a76a8..e36f10a244e5f52c37d22de24b516284125a8698 100644 (file)
@@ -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);
+               });
        }
 };