diff options
author | Clark Tomlinson <fallen013@gmail.com> | 2015-04-22 20:26:06 +0300 |
---|---|---|
committer | Clark Tomlinson <fallen013@gmail.com> | 2015-04-22 20:26:06 +0300 |
commit | 29168665cb8acb3296ba734500a869a70313abdc (patch) | |
tree | 84bf134aedb60987506c716f0234f674a3864fa1 /apps/encryption/js | |
parent | e3ec1a8bb8b913bd176b76bd59f8c0c209aff5cb (diff) |
fix messages from settings crontroller
Diffstat (limited to 'apps/encryption/js')
-rw-r--r-- | apps/encryption/js/settings-personal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/encryption/js/settings-personal.js b/apps/encryption/js/settings-personal.js index 4728da87082..658ba2a86ec 100644 --- a/apps/encryption/js/settings-personal.js +++ b/apps/encryption/js/settings-personal.js @@ -20,10 +20,10 @@ OC.Encryption = { newPassword: newPrivateKeyPassword } ).done(function (data) { - OC.msg.finishedSuccess('#encryption .msg', data.data.message); + OC.msg.finishedSuccess('#encryption .msg', data.message); }) .fail(function (jqXHR) { - OC.msg.finishedError('#encryption .msg', JSON.parse(jqXHR.responseText).data.message); + OC.msg.finishedError('#encryption .msg', JSON.parse(jqXHR.responseText).message); }); } }; |