Pman.Dialog.CoreMailingListMessage.js
},
{
"listeners": {
- "select": "function (combo, record, index)\n{\n Roo.log(record);\n/*\n (function() { \n combo.setValue('');\n }).defer(100);\n*/ \n _this.form.findField('bodytext').setValue(record.data.content);\n\n}"
+ "select": "function (combo, record, index)\n{\n Roo.log(record);\n/*\n (function() { \n combo.setValue('');\n }).defer(100);\n*/ \n if(!record){\n return;\n }\n _this.form.findField('bodytext').setValue(record.data.content);\n\n}"
},
"allowBlank": true,
"alwaysQuery": true,
combo.setValue('');
}).defer(100);
*/
+ if(!record){
+ return;
+ }
_this.form.findField('bodytext').setValue(record.data.content);
}