From 9a49f2ea0de649ab0b7c5dcef598416b60a79b86 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 14 Jan 2011 15:35:41 +0800 Subject: [PATCH] Pman.Dialog.PersonEditor.js --- Pman.Dialog.PersonEditor.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Pman.Dialog.PersonEditor.js b/Pman.Dialog.PersonEditor.js index e66dbbea..a3c02f85 100644 --- 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 -- 2.39.2