X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-bootstrap.js;h=ac93520804a9273ed4df65b26172dfb9d4d17e56;hb=8e14c8ef3efd1f2f3b338a2dab38bcaad003d8c2;hp=6020f1cb1af740f3c71e27708e6bf1df25e3b79f;hpb=c5c497557c3d3e1b40e4f1b17296572cae125abc;p=roojs1 diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index 6020f1cb1a..ac93520804 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -113,8 +113,8 @@ if(!this.el){var B=Roo.apply({},this.getAutoCreate());B.id=Roo.id();if(this.cls) }this.dialogEl=this.el.select('.modal-dialog',true).first();this.bodyEl=this.el.select('.modal-body',true).first();this.closeEl=this.el.select('.modal-header .close',true).first();this.headerEl=this.el.select('.modal-header',true).first();this.titleEl=this.el.select('.modal-title',true).first(); this.footerEl=this.el.select('.modal-footer',true).first();this.maskEl=Roo.DomHelper.append(document.body,{tag:"div",cls:"x-dlg-mask"},true);if(this.buttons.length){Roo.each(this.buttons,function(bb){var b=Roo.apply({},bb);b.xns=b.xns||Roo.bootstrap;b.xtype=b.xtype||'Button'; if(typeof(b.listeners)=='undefined'){b.listeners={click:this.onButtonClick.createDelegate(this)};}var E=Roo.factory(b);E.render(this.getButtonContainer());},this);}var C=[];if(typeof(this.items)!='undefined'){var D=this.items;delete this.items;for(var i=0; -i