From 466b39bf2507d9b5bae22325eaead59e13964989 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 17 Sep 2010 18:54:59 +0800 Subject: [PATCH] Pman.Dialog.CorePersonContact.js --- Pman.Dialog.CorePersonContact.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Pman.Dialog.CorePersonContact.js b/Pman.Dialog.CorePersonContact.js index 4cc0e188..bca4d729 100644 --- a/Pman.Dialog.CorePersonContact.js +++ b/Pman.Dialog.CorePersonContact.js @@ -166,14 +166,15 @@ Pman.Dialog.CorePersonContact = { store : { xtype: 'Store', xns: Roo.data, - remoteSort : true, - sortInfo : { direction : 'ASC', field: 'id' }, listeners : { beforeload : function (_self, o){ o.params = o.params || {}; - // set more here + var coid = _this.form.findField('company_id').getValue(); + o.params.company_id = coid; } }, + remoteSort : true, + sortInfo : { direction : 'ASC', field: 'id' }, proxy : { xtype: 'HttpProxy', xns: Roo.data, -- 2.39.2