Browse Source

Fixed displaying of fullname for profiles that do not have one, made sure that we fill the span with the usrname first.

master
Block Tester 11 years ago
parent
commit
84da2bc83c
  1. 2
      twister_io.js

2
twister_io.js

@ -198,6 +198,8 @@ function getProfileResource( username, resource, item, cbFunc, cbArg ){ @@ -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…
Cancel
Save