projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f1b57
)
Pman.Tab.AdminContacts.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 10:17:09 +0000
(18:17 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 10:17:09 +0000
(18:17 +0800)
Pman.Tab.AdminContacts.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.AdminContacts.js
b/Pman.Tab.AdminContacts.js
index
aa8e4ee
..
5b0835d
100644
(file)
--- a/
Pman.Tab.AdminContacts.js
+++ b/
Pman.Tab.AdminContacts.js
@@
-624,6
+624,19
@@
Pman.Tab.AdminContacts = new Roo.util.Observable({
cls : 'x-btn-text-icon',
text : "Edit",
icon : Roo.rootURL + 'images/default/tree/leaf.gif'
+ },
+ {
+ xtype: 'Button',
+ xns: Roo.Toolbar,
+ text : "Delete",
+ cls : 'x-btn-text-icon',
+ icon : rootURL + '/Pman/templates/images/trash.gif',
+ listeners : {
+ click : function()
+ {
+ Pman.genericDelete(_this, 'Companies');
+ }
+ }
}
]
},