From 2ae17b61ba7be976dc5e3d6f2529c6b8b33eb37d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 17 Sep 2010 18:56:29 +0800 Subject: [PATCH] Pman.Dialog.CorePersonContact.js --- Pman.Dialog.CorePersonContact.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Pman.Dialog.CorePersonContact.js b/Pman.Dialog.CorePersonContact.js index cde399f7..67224816 100644 --- a/Pman.Dialog.CorePersonContact.js +++ b/Pman.Dialog.CorePersonContact.js @@ -154,7 +154,10 @@ Pman.Dialog.CorePersonContact = { } Pman.Dialog.Office.show(cfg, function(data) { - cb.setFromData(data); + _this.form.setValues({ + company_id_name : data.name, + company_id : data.id + }); }); -- 2.39.2