From 84da2bc83c40678022a441b8e9069b4e34018335 Mon Sep 17 00:00:00 2001 From: Block Tester Date: Wed, 15 Jan 2014 20:51:05 +0000 Subject: [PATCH] Fixed displaying of fullname for profiles that do not have one, made sure that we fill the span with the usrname first. --- twister_io.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/twister_io.js b/twister_io.js index 09eb689..697523d 100644 --- a/twister_io.js +++ b/twister_io.js @@ -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); }