doc and indent
This commit is contained in:
parent
4a2f8f81ca
commit
490e779424
|
@ -9,6 +9,10 @@ if (!OC.Encryption) {
|
||||||
OC.Encryption = {};
|
OC.Encryption = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @namespace
|
||||||
|
* @memberOf OC
|
||||||
|
*/
|
||||||
OC.Encryption = {
|
OC.Encryption = {
|
||||||
displayEncryptionWarning: function () {
|
displayEncryptionWarning: function () {
|
||||||
if (!OC.Notification.isHidden()) {
|
if (!OC.Notification.isHidden()) {
|
||||||
|
|
|
@ -17,10 +17,10 @@ OC.Encryption = {
|
||||||
OC.generateUrl('/apps/encryption/ajax/updatePrivateKeyPassword'),
|
OC.generateUrl('/apps/encryption/ajax/updatePrivateKeyPassword'),
|
||||||
{oldPassword: oldPrivateKeyPassword, newPassword: newPrivateKeyPassword}
|
{oldPassword: oldPrivateKeyPassword, newPassword: newPrivateKeyPassword}
|
||||||
).success(function (response) {
|
).success(function (response) {
|
||||||
OC.msg.finishedSuccess('#encryption .msg', response.message);
|
OC.msg.finishedSuccess('#encryption .msg', response.message);
|
||||||
}).fail(function (response) {
|
}).fail(function (response) {
|
||||||
OC.msg.finishedError('#encryption .msg', response.responseJSON.message);
|
OC.msg.finishedError('#encryption .msg', response.responseJSON.message);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue