this.callParent(arguments);
},
- // template method
- afterRender: function(){
- this.callParent(arguments);
- var view = this.view;
- view.getSelectionModel().select(view.store.first());
- },
-
/**
* Create the DataView to be used for the feed list.
* @private
},
listeners: {
scope: this,
- contextmenu: this.onContextMenu
+ contextmenu: this.onContextMenu,
+ viewready: this.onViewReady
},
trackOver: true,
cls: 'feed-list',
return this.view;
},
+ onViewReady: function(){
+ this.view.getSelectionModel().select(this.view.store.first());
+ },
+
/**
* Creates the toolbar to be used for controlling feeds.
* @private