projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9e3d178
)
Pman.Dialog.CorePersonContact.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 10:55:30 +0000
(18:55 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 10:55:30 +0000
(18:55 +0800)
Pman.Dialog.CorePersonContact.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.CorePersonContact.js
b/Pman.Dialog.CorePersonContact.js
index
3608f19
..
6b10432
100644
(file)
--- a/
Pman.Dialog.CorePersonContact.js
+++ b/
Pman.Dialog.CorePersonContact.js
@@
-143,6
+143,13
@@
Pman.Dialog.CorePersonContact = {
{
xtype: 'ComboBox',
xns: Roo.form,
{
xtype: 'ComboBox',
xns: Roo.form,
+ listeners : {
+ add : function (combo)
+ {
+ var coid = _this.form.findField('company_id').getValue();
+ o.params.company_id = coid;
+ }
+ },
allowBlank : 'false',
displayField : 'name',
editable : 'false',
allowBlank : 'false',
displayField : 'name',
editable : 'false',
@@
-163,12
+170,6
@@
Pman.Dialog.CorePersonContact = {
typeAhead : true,
valueField : 'id',
width : 300,
typeAhead : true,
valueField : 'id',
width : 300,
- listeners : {
- add : function (combo)
- {
-
- }
- },
store : {
xtype: 'Store',
xns: Roo.data,
store : {
xtype: 'Store',
xns: Roo.data,