Pman.Dialog.BAdminStaffTwoFactorQRCode.bjs
authorEdward <edward@roojs.com>
Fri, 7 Dec 2018 03:32:48 +0000 (11:32 +0800)
committerEdward <edward@roojs.com>
Fri, 7 Dec 2018 03:32:48 +0000 (11:32 +0800)
Pman.Dialog.BAdminStaffTwoFactorQRCode.js

Pman.Dialog.BAdminStaffTwoFactorQRCode.bjs
Pman.Dialog.BAdminStaffTwoFactorQRCode.js

index 5df3ccb..9c7bf52 100644 (file)
@@ -2,7 +2,7 @@
  "name" : "Pman.Dialog.BAdminStaffTwoFactorQRCode",
  "parent" : "",
  "title" : "",
- "path" : "/home/john/gitlive/web.coba/Pman/BAdmin/Pman.Dialog.BAdminStaffTwoFactorQRCode.bjs",
+ "path" : "/home/edward/gitlive/Pman.BAdmin/Pman.Dialog.BAdminStaffTwoFactorQRCode.bjs",
  "permname" : "",
  "modOrder" : "001",
  "strings" : {
@@ -29,6 +29,7 @@
    "items" : [
     {
      "listeners" : {
+      "render" : "function (_self)\n{\n    _this.cancelBtn = this;\n}",
       "click" : "function (_self, e)\n{\n    \n    _this.dialog.hide();\n    \n    if(_this.callback){\n        _this.callback.call(_this, false);\n    }\n    \n    return;\n}"
      },
      "String weight" : "default",
index 6b1e2f2..8bf47f2 100644 (file)
@@ -112,6 +112,10 @@ Roo.apply(Pman.Dialog.BAdminStaffTwoFactorQRCode.prototype, {
             }
             
             return;
+        },
+       render : function (_self)
+        {
+            _this.cancelBtn = this;
         }
       },
       xns : Roo.bootstrap,