Merge pull request #23736 from nextcloud/backport/23721/stable20
[stable20] reset avatar cropper before showing
This commit is contained in:
commit
ca4eaf9ab5
|
@ -134,6 +134,7 @@ function avatarResponseHandler (data) {
|
|||
oc_userconfig.avatar.generated = false;
|
||||
updateAvatar();
|
||||
} else if (data.data === "notsquare") {
|
||||
cleanCropper();
|
||||
showAvatarCropper();
|
||||
} else {
|
||||
$warning.show();
|
||||
|
|
Loading…
Reference in New Issue