Pman.Tab.XtupleCurrency.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 10:53:31 +0000 (18:53 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 10:53:31 +0000 (18:53 +0800)
Pman.Tab.XtupleCurrency.js

Pman.Tab.XtupleCurrency.bjs
Pman.Tab.XtupleCurrency.js

index 2d77e21..6e86a5a 100644 (file)
                                     "items": [
                                         {
                                             "listeners": {
-                                                "beforeload": "function (_self, options)\n{\n    var s = _this.grid.selModel.getSelected();\n    if (!s) { \n        this.removeAll();\n        return false;\n    }\n    options.parms.curr_id = s.data.curr_id;\n}"
+                                                "beforeload": "function (_self, options)\n{\n    var s = _this.grid.selModel.getSelected();\n    if (!s) { \n        this.removeAll();\n        return false;\n    }\n    options.params.curr_id = s.data.curr_id;\n}"
                                             },
                                             "*prop": "dataSource",
                                             "remoteSort": true,
index c6519ab..14a2194 100644 (file)
@@ -238,7 +238,7 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                             this.removeAll();
                                             return false;
                                         }
-                                        options.parms.curr_id = s.data.curr_id;
+                                        options.params.curr_id = s.data.curr_id;
                                     }
                                 },
                                 remoteSort : true,