From: Alan Knowles Date: Fri, 14 Jan 2011 07:35:41 +0000 (+0800) Subject: Pman.Dialog.PersonEditor.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=9a49f2ea0de649ab0b7c5dcef598416b60a79b86 Pman.Dialog.PersonEditor.js --- 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