1 Ext.define('ForumBrowser.TopicContainer', {
3 extend: 'Ext.container.Container',
5 alias: 'widget.topiccontainer',
9 initComponent: function(){
23 tpl: '<b><u>{title}</u></b><br /><br />Post details here.'
29 afterLayout: function() {
32 // IE6 likes to make the content disappear, hack around it...
38 loadForum: function(rec) {
39 this.tab.setText(rec.get('text'));
40 this.child('#grid').loadForum(rec.getId());
43 onSelect: function(rec) {
44 this.child('#preview').update({
45 title: rec.get('title')
49 togglePreview: function(show){
50 var preview = this.child('#preview');