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.hide();
Roo.log(_this.data.module);
- Pman.Dialog.CoreMailingListMessagePreview.show({ id : _this.form.findField('id').getValue(), module : 'Core' });
+ 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'){