From 177ebe901c85174f8df9fe22ad4a37bfe474fd84 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 17 Sep 2010 18:54:59 +0800 Subject: [PATCH] Pman.Dialog.CorePersonContact.bjs --- Pman.Dialog.CorePersonContact.bjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Pman.Dialog.CorePersonContact.bjs b/Pman.Dialog.CorePersonContact.bjs index 17796464..b0a3a495 100644 --- a/Pman.Dialog.CorePersonContact.bjs +++ b/Pman.Dialog.CorePersonContact.bjs @@ -118,14 +118,14 @@ "name": "office_id_name", "items": [ { + "listeners": { + "|beforeload": "function (_self, o){\n o.params = o.params || {};\n var coid = _this.form.findField('company_id').getValue();\n o.params.company_id = coid;\n}\n" + }, "*prop": "store", - "xtype": "Store", - "|xns": "Roo.data", "remoteSort": true, + "xtype": "Store", "|sortInfo": "{ direction : 'ASC', field: 'id' }", - "listeners": { - "|beforeload": "function (_self, o){\n o.params = o.params || {};\n // set more here\n}\n" - }, + "|xns": "Roo.data", "items": [ { "*prop": "proxy", -- 2.39.2