projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
73b6f97
)
Pman.Dialog.CorePersonContact.bjs
author
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 10:56:28 +0000
(18:56 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 10:56:28 +0000
(18:56 +0800)
Pman.Dialog.CorePersonContact.bjs
patch
|
blob
|
history
diff --git
a/Pman.Dialog.CorePersonContact.bjs
b/Pman.Dialog.CorePersonContact.bjs
index
3d5c3ad
..
d5378bd
100644
(file)
--- a/
Pman.Dialog.CorePersonContact.bjs
+++ b/
Pman.Dialog.CorePersonContact.bjs
@@
-95,7
+95,7
@@
},
{
"listeners": {
},
{
"listeners": {
- "add": "function (combo)\n{\n var coid = _this.form.findField('company_id').getValue();\n if (!coid ) {\n \n Ext.MessageBox.alert(\"Error\", \"Select An Company First\");\n return false;\n\n }\n Pman.Dialog.Office.show(cfg, function(data) {\n
cb.setFromData(data
);\n }); \n \n \n}"
+ "add": "function (combo)\n{\n var coid = _this.form.findField('company_id').getValue();\n if (!coid ) {\n \n Ext.MessageBox.alert(\"Error\", \"Select An Company First\");\n return false;\n\n }\n Pman.Dialog.Office.show(cfg, function(data) {\n
_this.form.setValues({\n company_id_name : data.name,\n company_id : data.id\n }
);\n }); \n \n \n}"
},
"allowBlank": "false",
"displayField": "name",
},
"allowBlank": "false",
"displayField": "name",