Pman.Dialog.XtupleVendorEdit.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 05:12:25 +0000 (13:12 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 05:12:25 +0000 (13:12 +0800)
Pman.Dialog.XtupleVendorEdit.js

Pman.Dialog.XtupleVendorEdit.bjs
Pman.Dialog.XtupleVendorEdit.js

index 450a448..90fb7ef 100644 (file)
                                             "xtype": "TextField",
                                             "|xns": "Roo.form"
                                         },
+                                        {
+                                            "listeners": {
+                                                "|click": "function (_self, e)\n{\n_this.grid.footer.onClick('first');\n}"
+                                            },
+                                            "cls": "x-btn-icon",
+                                            "xtype": "Button",
+                                            "|icon": "rootURL + '/Pman/templates/images/search.gif'",
+                                            "|xns": "Roo.Toolbar"
+                                        },
                                         {
                                             "|xns": "Roo.Toolbar",
                                             "xtype": "Fill"
index d305f04..b6857df 100644 (file)
@@ -653,6 +653,18 @@ Pman.Dialog.XtupleVendorEdit = {
                                         }
                                     }
                                 },
+                                {
+                                    xtype: 'Button',
+                                    xns: Roo.Toolbar,
+                                    listeners : {
+                                        click : function (_self, e)
+                                        {
+                                        _this.grid.footer.onClick('first');
+                                        }
+                                    },
+                                    cls : 'x-btn-icon',
+                                    icon : rootURL + '/Pman/templates/images/search.gif'
+                                },
                                 {
                                     xtype: 'Fill',
                                     xns: Roo.Toolbar