Browse Source

Merge pull request #37 from BlockTester/master

UI fix for profile without full names
master
miguelfreitas 11 years ago
parent
commit
a39157eb84
  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