aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/jquery-ui-fixes.js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-12-16 14:13:22 +0100
committerJulius Härtl <jus@bitgrid.net>2017-12-19 18:49:26 +0100
commitd497f79625a35330f8a07d9d6913281fa2d0deac (patch)
tree992d70b41e9e65a6ac6ce8e11c9c63891b8704b0 /core/js/jquery-ui-fixes.js
parent6b5e3a936584add25af32c73bf49d0a8e6288e9a (diff)
downloadnextcloud-server-d497f79625a35330f8a07d9d6913281fa2d0deac.tar.gz
nextcloud-server-d497f79625a35330f8a07d9d6913281fa2d0deac.zip
Fix fallback when image loading fails
With the new avatar endpoint there is no difference between unknown users and errors when generating the placeholder avatar. Therefore the avatar function will now show the old placeholder if both a user and displayname was given as parameters. In case there is no displayname provided we cannot build the proper placeholder so the unknown user placeholder is shown. The displayname is not required for the avatar anymore, so we can get rid of the old code path for placeholders. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js/jquery-ui-fixes.js')
0 files changed, 0 insertions, 0 deletions