diff options
author | kondou <kondou@ts.unde.re> | 2013-09-06 13:46:50 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-09-06 13:46:50 +0200 |
commit | d18a070a0393ac3846053bcef1833dd01856e117 (patch) | |
tree | c238261eedc69ef4311a4f546a12ea4db60bf35e /settings/js/personal.js | |
parent | 221bbd275cf8dfaec5810745ad319f0daeacc8d6 (diff) | |
download | nextcloud-server-d18a070a0393ac3846053bcef1833dd01856e117.tar.gz nextcloud-server-d18a070a0393ac3846053bcef1833dd01856e117.zip |
Have the "notsquare" error as data, not as message
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r-- | settings/js/personal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index e9220ef9039..d6e2d8fbca9 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -108,7 +108,7 @@ function avatarResponseHandler(data) { $warning.hide(); if (data.status === "success") { updateAvatar(); - } else if (data.data.message === "notsquare") { + } else if (data.data === "notsquare") { showAvatarCropper(); } else { $warning.show(); |