mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
doc and indent
This commit is contained in:
parent
4a2f8f81ca
commit
490e779424
2 changed files with 8 additions and 4 deletions
|
|
@ -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 a new issue