projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ccf8c0
)
Pman.Dialog.PersonEditor.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 14 Jan 2011 07:35:41 +0000
(15:35 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 14 Jan 2011 07:35:41 +0000
(15:35 +0800)
Pman.Dialog.PersonEditor.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.PersonEditor.js
b/Pman.Dialog.PersonEditor.js
index
e66dbbe
..
a3c02f8
100644
(file)
--- a/
Pman.Dialog.PersonEditor.js
+++ b/
Pman.Dialog.PersonEditor.js
@@
-611,7
+611,7
@@
Pman.Dialog.PersonEditor.prototype = {
this.data = data;
this.create();
this.form.reset();
- if (data._fetch) {
+
//
if (data._fetch) {
this.dialog.show();
this.dialog.el.mask("Loading");
this.form.doAction('load', {
@@
-624,9
+624,9
@@
Pman.Dialog.PersonEditor.prototype = {
});
// this.fireEvent('show');
return;
- } else {
- this.form.setValues(data);
- }
+
//
} else {
+
//
this.form.setValues(data);
+
//
}
this.form.fireEvent('actioncomplete', this.form,{
type : 'setdata',
data: data