Pman.Dialog.CoreNotifyRecur.js
"xtype": "Fill"
},
{
- "text": "Delete",
- "cls": "x-btn-text-icon",
- "|icon": "rootURL + '/Pman/templates/images/trash.gif'",
- "xtype": "Button",
"listeners": {
- "|click": "function()\n{\n Pman.genericDelete(_this, 'core_notify_recur'); \n}\n "
+ "|click": "function()\n{\n var s = _this.grid.getSelectionModel().getSelected();\n Roo.log(s);\n}\n "
},
+ "cls": "x-btn-text-icon",
+ "text": "Delete",
+ "xtype": "Button",
+ "|icon": "rootURL + '/Pman/templates/images/trash.gif'",
"|xns": "Roo.Toolbar"
}
]
{
xtype: 'Button',
xns: Roo.Toolbar,
- text : "Delete",
- cls : 'x-btn-text-icon',
- icon : rootURL + '/Pman/templates/images/trash.gif',
listeners : {
click : function()
{
- Pman.genericDelete(_this, 'core_notify_recur');
+ var s = _this.grid.getSelectionModel().getSelected();
+ Roo.log(s);
}
- }
+ },
+ cls : 'x-btn-text-icon',
+ text : "Delete",
+ icon : rootURL + '/Pman/templates/images/trash.gif'
}
]
},