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

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

index 904fc21..d09019e 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       _this.grid.footer.onClick('first');\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 8a3005e..79cf1e0 100644 (file)
@@ -651,7 +651,7 @@ Pman.Dialog.XtupleVendorEdit = {
                                         {
                                            
                                             Pman.Dialog.XtupleSalesProductList.show({
-                                                exclude_itemsrc_vendor : _this.form.findField('vend_id').getValue,
+                                                exclude_itemsrc_vendor : _this.form.findField('vend_id').getValue(),
                                                 multi_select : true
                                             
                                             }, function(sels) {