projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc31968
)
Pman.Dialog.PersonEditor.js
author
Edward
<edward@roojs.com>
Mon, 22 Apr 2013 10:54:00 +0000
(18:54 +0800)
committer
Edward
<edward@roojs.com>
Mon, 22 Apr 2013 10:54:00 +0000
(18:54 +0800)
Pman.Dialog.PersonEditor.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.PersonEditor.js
b/Pman.Dialog.PersonEditor.js
index
7017ebc
..
ccfa277
100644
(file)
--- 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;