From 0c772ef189a77c3977b1a630fec305272647686e Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sat, 21 Jun 2014 09:51:44 -0700 Subject: [PATCH] ui: fix permanode page This was null. Not sure why. Change-Id: I501ab108a386832cf9f7f7d41b3c7172329f45f4 --- server/camlistored/ui/blob_item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/camlistored/ui/blob_item.js b/server/camlistored/ui/blob_item.js index 8c2623bd0..2b6ea28a5 100644 --- a/server/camlistored/ui/blob_item.js +++ b/server/camlistored/ui/blob_item.js @@ -60,7 +60,7 @@ cam.BlobItem.prototype.update = function(blobRef, metaBag, opt_contentLink) { this.metaData_ = this.metaBag_[this.blobRef_]; this.resolvedMetaData_ = cam.BlobItem.resolve(this.blobRef_, this.metaBag_); - if (this.resolvedMetaData_.image) { + if (this.resolvedMetaData_ && this.resolvedMetaData_.image) { this.thumber_ = cam.Thumber.fromImageMeta(this.resolvedMetaData_); } else { this.thumber_ = new cam.Thumber(this.metaData_.thumbnailSrc);