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

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

index 1d3113d..904fc21 100644 (file)
                                     "items": [
                                         {
                                             "listeners": {
-                                                "|click": "function()\n{\n   \n    Pman.Dialog.XtupleSalesProductList.show({\n        exclude_itemsrc_vendor : _this.form.findField('vend_id').getValue,\n        multi_select : true\n    \n    }, function(sels) {\n       Roo.log(sels); \n    \n    });\n   \n}\n"
+                                                "|click": "function()\n{\n   \n    Pman.Dialog.XtupleSalesProductList.show({\n        exclude_itemsrc_vendor : _this.form.findField('vend_id').getValue,\n        multi_select : true\n    \n    }, function(sels) {\n       Roo.log(sels); \n       _this.grid.footer.onClick('first');\n    \n    });\n   \n}\n"
                                             },
                                             "cls": "x-btn-text-icon",
                                             "text": "Add",
index 8bbd309..8a3005e 100644 (file)
@@ -656,6 +656,7 @@ Pman.Dialog.XtupleVendorEdit = {
                                             
                                             }, function(sels) {
                                                Roo.log(sels); 
+                                               _this.grid.footer.onClick('first');
                                             
                                             });