From: Edward Date: Fri, 7 Dec 2018 03:32:48 +0000 (+0800) Subject: Pman.Dialog.BAdminStaffTwoFactorQRCode.bjs X-Git-Url: http://git.roojs.org/?p=Pman.BAdmin;a=commitdiff_plain;h=abc674e84a59d89c7c3235bc0a5d71508bf0d8e1 Pman.Dialog.BAdminStaffTwoFactorQRCode.bjs Pman.Dialog.BAdminStaffTwoFactorQRCode.js --- diff --git a/Pman.Dialog.BAdminStaffTwoFactorQRCode.bjs b/Pman.Dialog.BAdminStaffTwoFactorQRCode.bjs index 5df3ccbf..9c7bf521 100644 --- a/Pman.Dialog.BAdminStaffTwoFactorQRCode.bjs +++ b/Pman.Dialog.BAdminStaffTwoFactorQRCode.bjs @@ -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", diff --git a/Pman.Dialog.BAdminStaffTwoFactorQRCode.js b/Pman.Dialog.BAdminStaffTwoFactorQRCode.js index 6b1e2f29..8bf47f2d 100644 --- a/Pman.Dialog.BAdminStaffTwoFactorQRCode.js +++ b/Pman.Dialog.BAdminStaffTwoFactorQRCode.js @@ -112,6 +112,10 @@ Roo.apply(Pman.Dialog.BAdminStaffTwoFactorQRCode.prototype, { } return; + }, + render : function (_self) + { + _this.cancelBtn = this; } }, xns : Roo.bootstrap,