Pman.Tab.XtupleReports.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:05:29 +0000 (20:05 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 12:05:29 +0000 (20:05 +0800)
Pman.Tab.XtupleReports.js

Pman.Tab.XtupleReports.bjs
Pman.Tab.XtupleReports.js

index 18c8c23..d33399b 100644 (file)
                                                         "|click": "function()\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( { id : 0 } , function() {\n        _this.grid.footer.onClick('first');\n   }); \n}\n"
                                                     },
                                                     "|xns": "Roo.Toolbar"
-                                                },
-                                                {
-                                                    "text": "Delete",
-                                                    "cls": "x-btn-text-icon",
-                                                    "|icon": "rootURL + '/Pman/templates/images/trash.gif'",
-                                                    "xtype": "Button",
-                                                    "listeners": {
-                                                        "|click": "function()\n{\n     Pman.genericDelete(_this, 'report'); \n}\n        "
-                                                    },
-                                                    "|xns": "Roo.Toolbar"
                                                 }
                                             ]
                                         },
index 34b8a37..fa4bf17 100644 (file)
@@ -138,19 +138,6 @@ Pman.Tab.XtupleReports = new Roo.XComponent({
                                                }); 
                                             }
                                         }
-                                    },
-                                    {
-                                        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, 'report'); 
-                                            }
-                                        }
                                     }
                                 ]
                             },