Pman.Dialog.BAdminPassword.bjs
authorjohn <john@roojs.com>
Tue, 9 Oct 2018 05:17:29 +0000 (13:17 +0800)
committerjohn <john@roojs.com>
Tue, 9 Oct 2018 05:17:29 +0000 (13:17 +0800)
Pman.Dialog.BAdminPassword.js

Pman.Dialog.BAdminPassword.bjs
Pman.Dialog.BAdminPassword.js

index 875f8a6..73a0603 100644 (file)
             },
             {
              "listeners" : {
+              "check" : "function (_self, checked)\n{\n\n}",
               "click" : "function (_self, e)\n{\n    e.preventDefault();\n    \n    if(this.checked) {\n        \n        Pman.Dialog.BAdminStaffTwoFactorQRCode.show({});\n        \n        this.setBoxLabel('Untick to disable Two Factor authentication');\n        \n        return;\n    }\n    \n    this.setBoxLabel('Enable Two Factor Authentication');\n}"
              },
              "String name" : "_enable_oath_key",
index 0dfa791..0e6c7ad 100644 (file)
@@ -258,6 +258,10 @@ Roo.apply(Pman.Dialog.BAdminPassword.prototype, {
               checked : false,
               name : '_enable_oath_key',
               listeners : {
+               check : function (_self, checked)
+                {
+                
+                },
                click : function (_self, e)
                 {
                     e.preventDefault();