diff --git a/server/camlistored/newui/blob_item_container.js b/server/camlistored/newui/blob_item_container.js index 706889633..44b9bf5ff 100644 --- a/server/camlistored/newui/blob_item_container.js +++ b/server/camlistored/newui/blob_item_container.js @@ -112,6 +112,11 @@ camlistore.BlobItemContainer.prototype.showRecent_ = function() { * @param {Object} result JSON response to this request. */ camlistore.BlobItemContainer.prototype.showRecentDone_ = function(result) { - console.log('Done getting blobs'); - console.log(result); + this.removeChildren(true); + + for (var i = 0, n = result.recent.length; i < n; i++) { + var blobRef = result.recent[i].blobref; + var item = new camlistore.BlobItem(blobRef, result); + this.addChild(item, true); + } }; diff --git a/server/camlistored/newui/blob_item_container_test.html b/server/camlistored/newui/blob_item_container_test.html index 26366a97c..0dc258e8c 100644 --- a/server/camlistored/newui/blob_item_container_test.html +++ b/server/camlistored/newui/blob_item_container_test.html @@ -13,32 +13,90 @@