Pman.Dialog.PersonEditor.js
authorEdward <edward@roojs.com>
Thu, 11 Jun 2015 05:47:40 +0000 (13:47 +0800)
committerEdward <edward@roojs.com>
Thu, 11 Jun 2015 05:47:40 +0000 (13:47 +0800)
Pman.Dialog.PersonEditor.js

index 2b020a1..dc2bb32 100644 (file)
@@ -528,9 +528,10 @@ Pman.Dialog.PersonEditor.prototype = {
                 width : 220,
                 listeners : {
                     check : function (_self, checked) {
-                        Roo.log(this.form);
-                        if(checked){
-                            
+                        this.form.findField('passwd1').insecure = false;
+                        
+                        if(!checked){
+                            this.form.findField('passwd1').insecure = true;
                         }
                     }
                 }