1 Ext.define('ForumBrowser.TopicContainer', {
3 extend: 'Ext.container.Container',
5 alias: 'widget.topiccontainer',
9 initComponent: function(){
25 tpl: '<b><u>{title}</u></b><br /><br />Post details here.'
31 afterLayout: function() {
34 // IE6 likes to make the content disappear, hack around it...
40 loadForum: function(rec) {
41 this.tab.setText(rec.get('text'));
42 this.child('#grid').loadForum(rec.getId());
45 onSelect: function(rec) {
46 this.child('#preview').update({
47 title: rec.get('title')
51 togglePreview: function(show){
52 var preview = this.child('#preview');