NIHVIVO-3502 Fix the proxy panel so all of the contents always have an image - either the profile image, if available, or the correct placeholder. Avoid hard-coding the URL of the placeholder, so we can remove the kluge of a person.thumbnail.jpg in Vitro
This commit is contained in:
parent
da2c958492
commit
84a9b22d99
3 changed files with 5 additions and 2 deletions
|
@ -44,7 +44,7 @@ function itemElement(template, uri, label, classLabel, imageUrl, removeInfo) {
|
|||
this.uri = uri;
|
||||
this.label = label;
|
||||
this.classLabel = classLabel;
|
||||
this.imageUrl = (imageUrl) ? imageUrl : imageUrl="../images/placeholders/person.thumbnail.jpg";
|
||||
this.imageUrl = imageUrl;
|
||||
this.removeInfo = removeInfo;
|
||||
|
||||
this.toString = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue