xtype: 'button'
,text: _('visualteams.create.team')
,handler : {
xtype : "visualteams-window-team-create",
blankValues : true
}
},{
,createTeam: function(btn,e,b) {
if (!this.windows.CreateTeam) {
this.windows.CreateTeam = MODx.load({
xtype: 'your-create-window-team'
,listeners: {
'success': {fn:function() { this.refresh(); },scope:this}
}
});
}
this.windows.CreateTeam.show(e.target);
}
,handler: function(btn,e) { this.createTeam(btn,e); }
This discussion is closed to further replies. Keep calm and carry on.