Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ext.ComponentMgr.onAvailable('footer_bar', function(config) {
- var footer_bar = Ext.getCmp('footer_bar');
- footer_bar.add({
- xtype: 'button',
- text: 'My Commands',
- handler: function(button) {
- alert('got here');
- }
- });
- footer_bar.add('-');
- }) ;
Add Comment
Please, Sign In to add comment