projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
98c3085
)
Pman.Dialog.CorePersonContact.bjs
author
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 10:53:38 +0000
(18:53 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 17 Sep 2010 10:53:38 +0000
(18:53 +0800)
Pman.Dialog.CorePersonContact.bjs
patch
|
blob
|
history
diff --git
a/Pman.Dialog.CorePersonContact.bjs
b/Pman.Dialog.CorePersonContact.bjs
index
3f7acd2
..
18c36b9
100644
(file)
--- a/
Pman.Dialog.CorePersonContact.bjs
+++ b/
Pman.Dialog.CorePersonContact.bjs
@@
-37,28
+37,31
@@
"|url": "baseURL + '/Roo/Person.php'",
"items": [
{
"|url": "baseURL + '/Roo/Person.php'",
"items": [
{
- "|xns": "Roo.form",
- "xtype": "ComboBox",
"allowBlank": "false",
"allowBlank": "false",
+ "displayField": "code",
"editable": "false",
"emptyText": "Select Companies",
"editable": "false",
"emptyText": "Select Companies",
+ "fieldLabel": "Company",
"forceSelection": true,
"forceSelection": true,
+ "hiddenName": "company_id",
"listWidth": 400,
"loadingText": "Searching...",
"minChars": 2,
"listWidth": 400,
"loadingText": "Searching...",
"minChars": 2,
+ "name": "company_id_code",
"pageSize": 20,
"qtip": "Select Companies",
"pageSize": 20,
"qtip": "Select Companies",
+ "queryParam": "query[code]",
"selectOnFocus": true,
"selectOnFocus": true,
+ "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{code}</b> </div>",
"triggerAction": "all",
"typeAhead": true,
"triggerAction": "all",
"typeAhead": true,
- "width": 300,
- "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{code}</b> </div>",
- "queryParam": "query[code]",
- "fieldLabel": "Company",
"valueField": "id",
"valueField": "id",
- "displayField": "code",
- "hiddenName": "company_id",
- "name": "company_id_code",
+ "width": 300,
+ "xtype": "ComboBox",
+ "|xns": "Roo.form",
+ "listeners": {
+ "add": "function (combo)\n{\n\n}"
+ },
"items": [
{
"*prop": "store",
"items": [
{
"*prop": "store",