Oct 23, 2009, 4:22 PM
[CLOSED] [1.0] Insert button into toolbar...
I have a button on a statusbar, when clicked, inserts a new button on the same statusbar (dynamically). This insert worked great in .8, but now it isn't working in 1.0.
This is the creation part (after the static button click):
var button = toolbar.insertButton(2, {
id: 'status' + userId,
text: userName,
iconcls: iconCls,
listeners: {
click: {
fn: function(el) {
Manager.openStatus(el, userId, userName);
}
}
},
sessionId: sessionId
});
This doesn't add the button to the statusbar any more?