Pman.Dialog.Image.bjs
authorjohn <john@roojs.com>
Mon, 4 Dec 2017 03:27:51 +0000 (11:27 +0800)
committerjohn <john@roojs.com>
Mon, 4 Dec 2017 03:27:51 +0000 (11:27 +0800)
Pman.Dialog.Image.js

Pman.Dialog.Image.bjs
Pman.Dialog.Image.js

index 7d18767..0e7b18b 100644 (file)
              "xtype" : "Input",
              "string fieldLabel" : "Upload Image or File:",
              "$ xns" : "Roo.bootstrap",
-             "Number labelWidth" : 7
+             "Number labelWidth" : 7,
+             "items" : [
+              {
+               "xtype" : "Button",
+               "$ xns" : "Roo.bootstrap",
+               "* prop" : "before"
+              }
+             ]
             }
            ]
           },
index 46cc5b9..8bb9eb7 100644 (file)
@@ -66,7 +66,12 @@ Roo.apply(Pman.Dialog.Image.prototype, {
               fieldLabel : _this._strings['ef797d5638c2e1c6b6225b2247541ea5'] /* Upload Image or File: */,
               labelWidth : 7,
               xns : Roo.bootstrap,
-              '|xns' : 'Roo.bootstrap'
+              '|xns' : 'Roo.bootstrap',
+              before : {
+               xtype : 'Button',
+               xns : Roo.bootstrap,
+               '|xns' : 'Roo.bootstrap'
+              }
              }
             ]
            },