Pman.Tab.XtupleReports.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 13:10:13 +0000 (21:10 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 13:10:13 +0000 (21:10 +0800)
Pman.Tab.XtupleReports.js

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

index f193d43..64e5d4a 100644 (file)
                                                 {
                                                     "|xns": "Roo.Toolbar",
                                                     "xtype": "Fill"
-                                                },
-                                                {
-                                                    "text": "Add",
-                                                    "xtype": "Button",
-                                                    "cls": "x-btn-text-icon",
-                                                    "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
-                                                    "listeners": {
-                                                        "|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"
                                                 }
                                             ]
                                         },
index 18b912b..e5a6623 100644 (file)
@@ -205,22 +205,6 @@ Pman.Tab.XtupleReports = new Roo.XComponent({
                                     {
                                         xtype: 'Fill',
                                         xns: Roo.Toolbar
-                                    },
-                                    {
-                                        xtype: 'Button',
-                                        xns: Roo.Toolbar,
-                                        text : "Add",
-                                        cls : 'x-btn-text-icon',
-                                        icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
-                                        listeners : {
-                                            click : function()
-                                            {
-                                                if (!_this.dialog) return;
-                                                _this.dialog.show( { id : 0 } , function() {
-                                                    _this.grid.footer.onClick('first');
-                                               }); 
-                                            }
-                                        }
                                     }
                                 ]
                             },