From a2b5f53fa1a88c7b2f9bb8bffdb4ace1f40c9a9b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 17 Sep 2010 18:53:49 +0800 Subject: [PATCH] Pman.Dialog.CorePersonContact.bjs --- Pman.Dialog.CorePersonContact.bjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Pman.Dialog.CorePersonContact.bjs b/Pman.Dialog.CorePersonContact.bjs index 18c36b92..2d14ea71 100644 --- a/Pman.Dialog.CorePersonContact.bjs +++ b/Pman.Dialog.CorePersonContact.bjs @@ -37,6 +37,9 @@ "|url": "baseURL + '/Roo/Person.php'", "items": [ { + "listeners": { + "add": "function (combo)\n{\n var cb = this;\n Pman.Dialog.Companies.show( { id: 0 }, function(data) {\n cb.setFromData(data);\n }); \n}" + }, "allowBlank": "false", "displayField": "code", "editable": "false", @@ -59,9 +62,6 @@ "width": 300, "xtype": "ComboBox", "|xns": "Roo.form", - "listeners": { - "add": "function (combo)\n{\n\n}" - }, "items": [ { "*prop": "store", -- 2.39.2