doc and indent

This commit is contained in:
Thomas Müller 2015-04-21 12:19:15 +02:00
parent 4a2f8f81ca
commit 490e779424
2 changed files with 8 additions and 4 deletions

View File

@ -9,6 +9,10 @@ if (!OC.Encryption) {
OC.Encryption = {};
}
/**
* @namespace
* @memberOf OC
*/
OC.Encryption = {
displayEncryptionWarning: function () {
if (!OC.Notification.isHidden()) {

View 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);
});
}
};