mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
parent
8fb3e44610
commit
d79c8c6d13
1 changed files with 4 additions and 1 deletions
|
|
@ -83,7 +83,10 @@ function changeDisplayName () {
|
|||
$('#oldDisplayName').val($('#displayName').val());
|
||||
// update displayName on the top right expand button
|
||||
$('#expandDisplayName').text($('#displayName').val());
|
||||
updateAvatar();
|
||||
// update avatar if avatar is available
|
||||
if(!$('#removeavatar').hasClass('hidden')) {
|
||||
updateAvatar();
|
||||
}
|
||||
}
|
||||
else {
|
||||
$('#newdisplayname').val(data.data.displayName);
|
||||
|
|
|
|||
Loading…
Reference in a new issue