From: Alan Knowles Date: Fri, 17 Sep 2010 10:53:52 +0000 (+0800) Subject: Pman.Dialog.CorePersonContact.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=9c48a36aea4f600d892f58f53c38a5cd1ae8737c Pman.Dialog.CorePersonContact.js --- diff --git a/Pman.Dialog.CorePersonContact.js b/Pman.Dialog.CorePersonContact.js index ecbba5a0..1db30816 100644 --- a/Pman.Dialog.CorePersonContact.js +++ b/Pman.Dialog.CorePersonContact.js @@ -84,10 +84,10 @@ Pman.Dialog.CorePersonContact = { listeners : { add : function (combo) { - var cb = this; - Pman.Dialog.Companies.show( { id: 0 }, function(data) { - cb.setFromData(data); - }); + + Pman.Dialog.Companies.show( { id: 0 }, function(data) { + cb.setFromData(data); + }); } }, allowBlank : 'false',