projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177ebe9
)
Pman.Dialog.CorePersonContact.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 10:54:59 +0000
(18:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 10:54:59 +0000
(18:54 +0800)
Pman.Dialog.CorePersonContact.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.CorePersonContact.js
b/Pman.Dialog.CorePersonContact.js
index
4cc0e18
..
bca4d72
100644
(file)
--- 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,