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

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

index 997adbb..d6ec2b8 100644 (file)
@@ -6,6 +6,9 @@
     "path": "/home/alan/gitlive/web.xtuple/Pman/Xtuple/Pman.Dialog.XtupleVendorEdit.bjs",
     "items": [
         {
+            "listeners": {
+                "show": "function (_self)\n{\n    this.layout.getRegion('center').showPanel(0);\n}"
+            },
             "closable": false,
             "collapsible": false,
             "height": 550,
index a772e74..66e3dce 100644 (file)
@@ -30,6 +30,12 @@ Pman.Dialog.XtupleVendorEdit = {
         this.dialog = Roo.factory({
             xtype: 'LayoutDialog',
             xns: Roo,
+            listeners : {
+                show : function (_self)
+                {
+                    this.layout.getRegion('center').showPanel(0);
+                }
+            },
             closable : false,
             collapsible : false,
             height : 550,