Pman.Tab.XtupleArAging.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 5 Dec 2013 03:40:18 +0000 (11:40 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 5 Dec 2013 03:40:18 +0000 (11:40 +0800)
Pman.Tab.XtupleArAging.js

Pman.Tab.XtupleArAging.bjs
Pman.Tab.XtupleArAging.js

index 1ad1938..c9204f0 100644 (file)
@@ -82,7 +82,8 @@
                                             "items": [
                                                 {
                                                     "listeners": {
-                                                        "render": "function (_self)\n{\n    _this.customerSel = _self;\n}"
+                                                        "render": "function (_self)\n{\n    _this.customerSel = _self;\n}",
+                                                        "select": "function (combo, record, index)\n{\n    _this.grid.footer.onClick('first');\n}"
                                                     },
                                                     "allowBlank": false,
                                                     "displayField": "cust_name",
index 0908977..a7fb836 100644 (file)
@@ -248,6 +248,10 @@ Pman.Tab.XtupleArAging = new Roo.XComponent({
                                             render : function (_self)
                                             {
                                                 _this.customerSel = _self;
+                                            },
+                                            select : function (combo, record, index)
+                                            {
+                                                _this.grid.footer.onClick('first');
                                             }
                                         },
                                         allowBlank : false,