{
"listeners": {
"|render": "function() \n{\n _this.grid = this; \n _this.dialog = Pman.Dialog.CoreEmail;\n if (_this.panel.active) {\n _this.grid.footer.onClick('first');\n }\n}",
- "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n var data = this.getDataSource().getAt(rowIndex).data;\n _this.dialog.show( {id : data.id, module : 'core'} , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n",
+ "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n var data = this.getDataSource().getAt(rowIndex).data;\n _this.dialog.show( {id : data.id, module : 'core_email'} , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n",
"rowclick": "function (_self, rowIndex, e)\n{\n // _this.grid.ds.load({});\n _this.viewPanel.view.store.load({});\n}"
},
"*prop": "grid",
},
{
"listeners": {
- "|click": "function()\n{\n var sel = _this.grid.selModel.getSelected();\n if (!sel) {\n Roo.MessageBox.alert(\"Error\", \"Select a message to copy\");\n return;\n }\nnew Pman.Request({\n url : baseURL + '/Roo/Core_mailing_list_message',\n method : 'POST',\n params : {\n id : sel.data.id,\n _make_copy : 1\n },\n success : function() {\n _this.grid.footer.onClick('refresh');\n }\n});\n \n}\n"
+ "|click": "function()\n{\n var sel = _this.grid.selModel.getSelected();\n if (!sel) {\n Roo.MessageBox.alert(\"Error\", \"Select a message to copy\");\n return;\n }\nnew Pman.Request({\n url : baseURL + '/Roo/Core_email',\n method : 'POST',\n params : {\n id : sel.data.id,\n _make_copy : 1\n },\n success : function() {\n _this.grid.footer.onClick('refresh');\n }\n});\n \n}\n"
},
"cls": "x-btn-text-icon",
"text": "Copy",
},
{
"listeners": {
- "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0, module : 'core' } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
+ "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0, module : 'core_email' } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
},
"cls": "x-btn-text-icon",
"text": "Add",
},
{
"listeners": {
- "|click": "function()\n{\n Pman.genericDelete(_this, 'core_mailing_list_message');\n \n}\n"
+ "|click": "function()\n{\n Pman.genericDelete(_this, 'core_email');\n \n}\n"
},
"cls": "x-btn-text-icon",
"text": "Delete",
"*prop": "proxy",
"method": "GET",
"xtype": "HttpProxy",
- "|url": "baseURL+'/Roo/Core_mailing_list_message.php'",
+ "|url": "baseURL+'/Roo/Core_email.php'",
"|xns": "Roo.data"
},
{