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:
Block Tester 2014-01-15 20:51:05 +00:00
parent 262798dc2d
commit 84da2bc83c

View File

@ -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);
}