projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d40f58
)
Pman.Tab.AdminContacts.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 10:15:38 +0000
(18:15 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 10:15:38 +0000
(18:15 +0800)
Pman.Tab.AdminContacts.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.AdminContacts.js
b/Pman.Tab.AdminContacts.js
index
25f2198
..
ba3bbb4
100644
(file)
--- a/
Pman.Tab.AdminContacts.js
+++ b/
Pman.Tab.AdminContacts.js
@@
-552,6
+552,25
@@
Pman.Tab.AdminContacts = new Roo.util.Observable({
cls : 'x-btn-icon',
icon : rootURL + '/Pman/templates/images/edit-clear.gif'
},
+ {
+ xtype: 'Button',
+ xns: Roo.Toolbar,
+ listeners : {
+ toggle : function (_self, pressed)
+ {
+ _this.grid.footer.onClick('first');
+ this.setText(pressed ? "Show Active" : "Show Removed");
+
+
+ },
+ render : function (_self)
+ {
+ _this.activeButton = _self;
+ }
+ },
+ enableToggle : true,
+ text : "Show Removed"
+ },
{
xtype: 'Fill',
xns: Roo.Toolbar