summaryrefslogtreecommitdiffstats
path: root/settings/js/personal.js
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-09-28 16:46:53 +0200
committerkondou <kondou@ts.unde.re>2013-09-28 16:46:53 +0200
commit4907685405ead5df56ef0a5ac0b9af7c86885487 (patch)
treef63b1334a0474a448f2541ba310b5899ea985a48 /settings/js/personal.js
parentcb565a5f60921f3fdf3c42df12951e02a3bb338d (diff)
downloadnextcloud-server-4907685405ead5df56ef0a5ac0b9af7c86885487.tar.gz
nextcloud-server-4907685405ead5df56ef0a5ac0b9af7c86885487.zip
Base defaultavatar text on displayname
Fix #4876
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r--settings/js/personal.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index eaaca32f5d8..8944a7afa3c 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -34,6 +34,7 @@ function changeDisplayName(){
$('#oldDisplayName').text($('#displayName').val());
// update displayName on the top right expand button
$('#expandDisplayName').text($('#displayName').val());
+ updateAvatar();
}
else{
$('#newdisplayname').val(data.data.displayName);