mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-02-04 11:04:29 +00:00
Fixed displaying of fullname for profiles that do not have one, made sure that we fill the span with the usrname first.
This commit is contained in:
parent
262798dc2d
commit
84da2bc83c
@ -198,6 +198,8 @@ function getProfileResource( username, resource, item, cbFunc, cbArg ){
|
||||
|
||||
// get fullname and store it in item.text
|
||||
function getFullname( username, item ){
|
||||
// Set the username first in case the profile has no fullname
|
||||
item.text(username);
|
||||
getProfileResource( username, "fullname", item);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user