From 3f69a0eb7d2ad54076cdec8d7927a1beeda9e858 Mon Sep 17 00:00:00 2001 From: Brett Slatkin Date: Sun, 23 Dec 2012 15:28:11 -0800 Subject: [PATCH] newui: Index page actually loads recent blobs Change-Id: I888c9500bbcfc608a9a495f38239b8dd5cc64c83 --- server/camlistored/newui/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/camlistored/newui/index.js b/server/camlistored/newui/index.js index 6d0db0b98..de5c81a3e 100644 --- a/server/camlistored/newui/index.js +++ b/server/camlistored/newui/index.js @@ -10,6 +10,7 @@ goog.require('goog.events.EventHandler'); goog.require('goog.events.EventType'); goog.require('goog.ui.Component'); goog.require('camlistore.BlobItemContainer'); +goog.require('camlistore.BlobItemContainer.EventType'); goog.require('camlistore.ServerConnection'); @@ -91,7 +92,10 @@ camlistore.IndexPage.prototype.disposeInternal = function() { */ camlistore.IndexPage.prototype.enterDocument = function() { camlistore.IndexPage.superClass_.enterDocument.call(this); - // Add event handlers here + + goog.events.dispatchEvent( + this.blobItemContainer_, + camlistore.BlobItemContainer.EventType.SHOW_RECENT); };