diff options
Diffstat (limited to 'apps/encryption/js')
-rw-r--r-- | apps/encryption/js/encryption.js | 4 | ||||
-rw-r--r-- | apps/encryption/js/settings-personal.js | 8 |
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); + }); } }; |