_strings : {
'10e0d90d01ee3b134ee40b7ad31566a4' :"Message Preview",
'4cd8413207629a963225f4314b53adcd' :"Plain",
+ 'd3d2e617335f08df83599665eef8a418' :"Close",
'4c4ad5fca2e7a3f74dbb1ced00381aa4' :"HTML"
},
var _this = this;
this.dialog = Roo.factory({
xtype : 'Modal',
+ fitwindow : true,
title : _this._strings['10e0d90d01ee3b134ee40b7ad31566a4'] /* Message Preview */,
listeners : {
show : function (_self)
{
+
_this.panel.load({
url: baseURL + '/Core/MessagePreview',
params : {
},
method : 'GET'
});
+
_this.hpanel.load({
url: baseURL + '/Core/MessagePreview',
params : {
},
method : 'GET'
});
+
}
},
xns : Roo.bootstrap,
'|xns' : 'Roo.bootstrap',
+ buttons : [
+ {
+ xtype : 'Button',
+ html : _this._strings['d3d2e617335f08df83599665eef8a418'] /* Close */,
+ name : 'close',
+ listeners : {
+ click : function (_self, e)
+ {
+ _this.dialog.hide();
+ }
+ },
+ xns : Roo.bootstrap,
+ '|xns' : 'Roo.bootstrap'
+ }
+ ],
items : [
{
xtype : 'Border',
xns : Roo.bootstrap.layout,
'|xns' : 'Roo.bootstrap.layout',
+ center : {
+ xtype : 'Region',
+ alwaysShowTabs : true,
+ autoScroll : true,
+ tabPosition : 'top',
+ xns : Roo.bootstrap.layout,
+ '|xns' : 'Roo.bootstrap.layout'
+ },
items : [
{
xtype : 'Content',
+ autoScroll : true,
+ region : 'center',
title : _this._strings['4cd8413207629a963225f4314b53adcd'] /* Plain */,
listeners : {
render : function (_self)
{
- _this.panel = _self;
+ _this.panel = this;
}
},
xns : Roo.bootstrap.panel,
},
{
xtype : 'Content',
+ autoScroll : true,
+ background : true,
+ region : 'center',
title : _this._strings['4c4ad5fca2e7a3f74dbb1ced00381aa4'] /* HTML */,
listeners : {
render : function (_self)
{
- _this.hpanel = _self;
+ _this.hpanel = this;
}
},
xns : Roo.bootstrap.panel,