} else {
cfg.tag = this.tag;
}
- cfg.html = '<span class="roo-button-text">' + (this.html || cfg.html) + '</span>';
+ cfg.html = this.html || cfg.html;
if (this.toggle == true) {
cfg={
this.maskEl.hide();
//this.el.addClass("x-dlg-modal");
- if (this.buttons.legnth) {
+ if (this.buttons.length) {
Roo.each(this.buttons, function(bb) {
b = Roo.apply({}, bb);
b.xns = b.xns || Roo.bootstrap;