Pman.Dialog.BAdminCompany.bjs
authorKH Lau <khlau@roojs.com>
Tue, 12 Sep 2017 09:40:24 +0000 (17:40 +0800)
committerKH Lau <khlau@roojs.com>
Tue, 12 Sep 2017 09:40:24 +0000 (17:40 +0800)
Pman.Dialog.BAdminCompany.js

Pman.Dialog.BAdminCompany.bjs
Pman.Dialog.BAdminCompany.js

index 108abbf..edb1f26 100644 (file)
                "xtype" : "Input",
                "string fieldLabel" : "Select Logo",
                "String inputType" : "file",
-               "$ xns" : "Roo.bootstrap"
+               "$ xns" : "Roo.bootstrap",
+               "$ listensers" : " { \n       'onchange' : function(e) { \n            console.log(e);      \n       }\n}"
               },
               {
                "listeners" : {
index 60b5d43..14925b4 100644 (file)
@@ -465,6 +465,11 @@ Roo.apply(Pman.Dialog.BAdminCompany.prototype, {
                 allowBlank : false,
                 fieldLabel : _this._strings['b999e07cf80ea5eca8e589cd8540a81e'] /* Select Logo */,
                 inputType : 'file',
+                listensers : { 
+                       'onchange' : function(e) { 
+                            console.log(e);      
+                       }
+                },
                 name : 'imageUpload',
                 listeners : {
                  change : function (_self, newValue, oldValue)