From: Edward Date: Mon, 22 Apr 2013 10:54:00 +0000 (+0800) Subject: Pman.Dialog.PersonEditor.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=fb7793a2bd791a7b712fc1d9955b385589d7d0f8 Pman.Dialog.PersonEditor.js --- diff --git a/Pman.Dialog.PersonEditor.js b/Pman.Dialog.PersonEditor.js index 7017ebcb..ccfa2778 100644 --- a/Pman.Dialog.PersonEditor.js +++ b/Pman.Dialog.PersonEditor.js @@ -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;