Pman.Dialog.PersonEditor.js
authorEdward <edward@roojs.com>
Mon, 22 Apr 2013 10:54:00 +0000 (18:54 +0800)
committerEdward <edward@roojs.com>
Mon, 22 Apr 2013 10:54:00 +0000 (18:54 +0800)
Pman.Dialog.PersonEditor.js

index 7017ebc..ccfa277 100644 (file)
@@ -134,10 +134,10 @@ Pman.Dialog.PersonEditor.prototype = {
                         if (this.type == 'staff') {
                             _this.form.findField('passwd1').allowBlank = false;
                             _this.form.findField('passwd2').allowBlank = false;
-                            if (data.id > 0) {
-                                _this.form.findField('passwd1').allowBlank = true;
-                                _this.form.findField('passwd2').allowBlank = true;
-                            }
+//                            if (data.id > 0) {
+//                                _this.form.findField('passwd1').allowBlank = true;
+//                                _this.form.findField('passwd2').allowBlank = true;
+//                            }
 
                         }
                         return;