Pman.Tab.AdminNotify.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 12 Jul 2013 08:00:21 +0000 (16:00 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 12 Jul 2013 08:00:21 +0000 (16:00 +0800)
Pman.Tab.AdminNotify.js

Pman.Tab.AdminNotify.bjs
Pman.Tab.AdminNotify.js

index 534562a..2e7cff5 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-157",
+    "id": "roo-file-162",
     "name": "Pman.Tab.AdminNotify",
     "parent": "Pman.Tab.AdminWatchNotify",
     "title": "Pman.Tab.AdminNotify",
                                     "|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}",
index dd32022..eae245b 100644 (file)
@@ -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,