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:
parent
73ebc88e95
commit
619d797a25
2 changed files with 29 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue