doc and indent
This commit is contained in:
parent
4a2f8f81ca
commit
490e779424
|
@ -9,6 +9,10 @@ if (!OC.Encryption) {
|
|||
OC.Encryption = {};
|
||||
}
|
||||
|
||||
/**
|
||||
* @namespace
|
||||
* @memberOf OC
|
||||
*/
|
||||
OC.Encryption = {
|
||||
displayEncryptionWarning: function () {
|
||||
if (!OC.Notification.isHidden()) {
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue