Pman.Dialog.XtupleSalesOrder.bjs
authorEdward <edward@roojs.com>
Thu, 27 Feb 2014 04:35:55 +0000 (12:35 +0800)
committerEdward <edward@roojs.com>
Thu, 27 Feb 2014 04:35:55 +0000 (12:35 +0800)
Pman.Dialog.XtupleSalesOrder.js

Pman.Dialog.XtupleSalesOrder.bjs
Pman.Dialog.XtupleSalesOrder.js

index e3b4297..1e73787 100644 (file)
                 {
                     "listeners": {
                         "click": "function (_self, e)\n{\n      if (_this.grid)  _this.grid.stopEditing();\n    _this.dialog.hide();\n}",
-                        "render": "function (_self)\n{\n\n}"
+                        "render": "function (_self)\n{\n    _this.reversalBtn = _self;\n}"
                     },
                     "*prop": "buttons[]",
                     "text": "Create CM reversal",
index e605d50..23b1a1f 100644 (file)
@@ -6729,7 +6729,7 @@ Pman.Dialog.XtupleSalesOrder = {
                         },
                         render : function (_self)
                         {
-                        
+                            _this.reversalBtn = _self;
                         }
                     },
                     text : "Create CM reversal"