Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
acm.upgrade.bottomPanel = new Ext.Panel({
id: 'acm.upgrade.bottomPanel',
labelAlign: 'top'
,frame:true
,layout: 'fit'
,items: [{
layout: 'column'
,items: [{
columnWidth: .10
,layout: 'form'
,buttons: [{
id: 'upgrade-add-clients-btn'
,text: 'Add Clients'
,qtip: 'Add Clients'
,listeners: {
click: function() {
Ext.getCmp('acm-upgrade-card-panel').layout.setActiveItem( acm.upgrade.client.listPanel );
acm.upgrade.client.store.load({
params: {
gridIds: 'ALL'
,page: 1
,rows: 10
,start: 0
}
});
acm.upgrade.client.listPanel.doLayout();
}
}
}]
},{
layout: 'form'
,columnWidth: .10
,flex: 1
},{
columnWidth: .80
,layout: 'form'
,buttons: [{
id: 'upgrade-change-version-btn'
,text: 'Change Version'
,qtip: 'Change Version'
,listeners: {
click: function() {
var versionWindow = getVersionWindow();
versionWindow.show();
}
}
},{
id: 'upgrade-start-upgrade-btn'
,text: 'Start Upgrade'
,qtip: 'Start Upgrade'
,listeners: {
click: function() {
Ext.Msg.alert("Alert", "Under Development", null);
}
}
}]
}]
}]
});
Owner

dakrone commented May 14, 2010

Code written by someone else, for discussion about style see http://gist.github.com/357981#comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment