From: Alan Knowles Date: Fri, 17 Sep 2010 10:56:29 +0000 (+0800) Subject: Pman.Dialog.CorePersonContact.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=2ae17b61ba7be976dc5e3d6f2529c6b8b33eb37d Pman.Dialog.CorePersonContact.js --- 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 + }); });