projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b07eb0c
)
Pman.Tab.AdminOffice.bjs
author
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 08:27:09 +0000
(16:27 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 08:27:09 +0000
(16:27 +0800)
Pman.Tab.AdminOffice.bjs
patch
|
blob
|
history
diff --git
a/Pman.Tab.AdminOffice.bjs
b/Pman.Tab.AdminOffice.bjs
index
7028942
..
a309194
100644
(file)
--- a/
Pman.Tab.AdminOffice.bjs
+++ b/
Pman.Tab.AdminOffice.bjs
@@
-72,13
+72,13
@@
"|xns": "Roo",
"items": [
{
"|xns": "Roo",
"items": [
{
+ "listeners": {
+ "|click": "function()\n{\n if (!_this.dialog) return;\n \n var cdata = Pman.Tab.AdminCompanies.grid.getSelectionModel().getSelected().data;\n _dialog.show( { \n id : 0 ,\n company_name : cdata.name,\n company_id : cdata.id,\n address : cdata.address,\n phone : cdata.tel,\n fax : cdata.fax,\n email : cdata.email\n } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
+ },
+ "cls": "x-btn-text-icon",
"text": "Add",
"xtype": "Button",
"text": "Add",
"xtype": "Button",
- "cls": "x-btn-text-icon",
"|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
"|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
- "listeners": {
- "|click": "function()\n{\n if (!_this.dialog) return;\n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
- },
"|xns": "Roo.Toolbar"
},
{
"|xns": "Roo.Toolbar"
},
{