From: Alan Knowles Date: Fri, 12 Jul 2013 08:00:21 +0000 (+0800) Subject: Pman.Tab.AdminNotify.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=a05bb62728b6469b3e16c496dfefe84fced67141 Pman.Tab.AdminNotify.bjs Pman.Tab.AdminNotify.js --- diff --git a/Pman.Tab.AdminNotify.bjs b/Pman.Tab.AdminNotify.bjs index 534562a..2e7cff5 100644 --- a/Pman.Tab.AdminNotify.bjs +++ b/Pman.Tab.AdminNotify.bjs @@ -1,5 +1,5 @@ { - "id": "roo-file-157", + "id": "roo-file-162", "name": "Pman.Tab.AdminNotify", "parent": "Pman.Tab.AdminWatchNotify", "title": "Pman.Tab.AdminNotify", @@ -127,6 +127,16 @@ "|xns": "Roo.Toolbar", "xtype": "Fill" }, + { + "listeners": { + "|click": "function()\n {\n Pman.genericDelete(_this, 'Ris_partner_type'); \n }\n " + }, + "cls": "x-btn-text-icon", + "text": "Delete", + "xtype": "Button", + "|icon": "rootURL + '/Pman/templates/images/trash.gif'", + "|xns": "Roo.Toolbar" + }, { "listeners": { "render": "function (_self)\n{\n _this.toggleBtn = _self;\n}", diff --git a/Pman.Tab.AdminNotify.js b/Pman.Tab.AdminNotify.js index dd32022..eae245b 100644 --- a/Pman.Tab.AdminNotify.js +++ b/Pman.Tab.AdminNotify.js @@ -293,6 +293,19 @@ Pman.Tab.AdminNotify = new Roo.XComponent({ xtype: 'Fill', xns: Roo.Toolbar }, + { + xtype: 'Button', + xns: Roo.Toolbar, + listeners : { + click : function() + { + Pman.genericDelete(_this, 'Ris_partner_type'); + } + }, + cls : 'x-btn-text-icon', + text : "Delete", + icon : rootURL + '/Pman/templates/images/trash.gif' + }, { xtype: 'Button', xns: Roo.Toolbar,