{
"listeners" : {
"render" : "function (_self)\n{\n _this.edit_btn = this;\n \n this.hide();\n}",
- "click" : "function (_self, e)\n{\n var sel = _this.grid.grid.selModel.getSelected();\n \n if (!sel || sel.data.id * 1 < 1) {\n Roo.MessageBox.alert(\"Error\", \"Select a message to edit\");\n return;\n }\n \n Pman.Dialog.BAdminEmail.show( {id : data.id, module : 'core_email'} , function() {\n _this.table.footer.onClick('first');\n }); \n}"
+ "click" : "function (_self, e)\n{\n var sel = _this.grid.grid.selModel.getSelected();\n \n if (!sel || sel.data.id * 1 < 1) {\n Roo.MessageBox.alert(\"Error\", \"Select a message to edit\");\n return;\n }\n \n Pman.Dialog.BAdminEmail.show( {id : sel.data.id, module : 'core_email'} , function() {\n _this.table.footer.onClick('first');\n }); \n}"
},
"xtype" : "Button",
"$ xns" : "Roo.bootstrap",
return;
}
- Pman.Dialog.BAdminEmail.show( {id : data.id, module : 'core_email'} , function() {
+ Pman.Dialog.BAdminEmail.show( {id : sel.data.id, module : 'core_email'} , function() {
_this.table.footer.onClick('first');
});
},