newui: Index page actually loads recent blobs

Change-Id: I888c9500bbcfc608a9a495f38239b8dd5cc64c83
This commit is contained in:
Brett Slatkin 2012-12-23 15:28:11 -08:00
parent 946752d851
commit 3f69a0eb7d
1 changed files with 5 additions and 1 deletions

View File

@ -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);
};