1. Testing out a way to get image thumbnail url for a profile of a person

2. Fixed a bug: when no moniker is present, in person level vis, moniker related jQuery code threw error.
This commit is contained in:
cdtank 2010-07-15 05:49:38 +00:00
parent 73ebc88e95
commit 619d797a25
2 changed files with 29 additions and 0 deletions

View file

@ -107,6 +107,11 @@ function setProfileMoniker(monikerContainerID, moniker, doEllipsis) {
if (monikerContainerID == "") {
return;
}
if (!moniker) {
$("#" + monikerContainerID).empty();
return;
}
var finalDisplayMoniker;
@ -130,6 +135,11 @@ function setProfileName(nameContainerID, name) {
if (nameContainerID == "") {
return;
}
if (!name) {
$("#" + nameContainerID).empty();
return;
}
$("#" + nameContainerID).empty().text(name);