DataObjects/Core_domain.php
[Pman.Core] / Pman.Dialog.PersonEditor.js
index e48e629..dc2bb32 100644 (file)
@@ -525,7 +525,16 @@ Pman.Dialog.PersonEditor.prototype = {
                 checked : true,
                 xtype : 'Checkbox',
                 xns : Roo.form,
-                width : 220
+                width : 220,
+                listeners : {
+                    check : function (_self, checked) {
+                        this.form.findField('passwd1').insecure = false;
+                        
+                        if(!checked){
+                            this.form.findField('passwd1').insecure = true;
+                        }
+                    }
+                }
             },
             project_id_fs : {
                 xtype : 'FieldSetEx',