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:
j2blake 2012-03-21 20:33:34 +00:00
parent da2c958492
commit 84a9b22d99
3 changed files with 5 additions and 2 deletions

View file

@ -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() {