listeners : {
select : function (combo, record, index)
{
- Roo.log(record);
+
/*
(function() {
combo.setValue('');
}).defer(100);
*/
+ if(!record){
+ return;
+ }
_this.form.findField('bodytext').setValue(record.data.content);
}
_this.dialog.el.mask("Loading");
this.load({ method: 'GET', params: { '_id' : _this.data.id }});
if(_this.data.module == 'crm'){
- _this.preview_btn.show();
_this.html_preview.show();
}
+ _this.preview_btn.show();
} else {
_this.form.setValues({
click : function (_self, e)
{
//_this.dialog.hide();
-
+ Roo.log(_this.data.module);
Pman.Dialog.CoreMailingListMessagePreview.show({ id : _this.form.findField('id').getValue(), module : _this.data.module });
},
render : function (_self)
method : 'POST',
mask: 'Sending',
params : {
- _id : id,
- _action : 'html'
+ _id : id
},
success : function(res) {
if(res.data == 'SUCCESS'){