Pman.Tab.XtupleCurrency.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 11:00:38 +0000 (19:00 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 11:00:38 +0000 (19:00 +0800)
Pman.Tab.XtupleCurrency.js

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

index df7596d..a156a3c 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.params.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    options.params._with_base  = 1;\n}"
                                             },
                                             "*prop": "dataSource",
                                             "remoteSort": true,
index 792ab9b..2626a0d 100644 (file)
@@ -240,6 +240,7 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                             return false;
                                         }
                                         options.params.curr_id = s.data.curr_id;
+                                        options.params._with_base  = 1;
                                     }
                                 },
                                 remoteSort : true,