roojs-bootstrap.js
authorAlan Knowles <alan@roojs.com>
Thu, 8 Sep 2016 13:29:35 +0000 (21:29 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 8 Sep 2016 13:29:35 +0000 (21:29 +0800)
roojs-bootstrap-debug.js

roojs-bootstrap-debug.js
roojs-bootstrap.js

index 885b643..a601580 100644 (file)
@@ -389,7 +389,9 @@ Roo.bootstrap.Body = function(config){
 };
 
 Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {
-      
+    
+    is_body : true,// just to make sure it's constructed?
+    
        autoCreate : {
         cls: 'container'
     },
index 1fd48b7..f4a52d8 100644 (file)
@@ -15,7 +15,7 @@ Roo.debug&&Roo.log(self_cntr_el);Roo.debug&&Roo.log(echild);Roo.debug&&Roo.log(c
 skip_children=true;}}else{cn.render(this[cntr](true));}}var nitems=[];if(!tree.items||!tree.items.length){cn.items=nitems;return cn;}var items=tree.items;delete tree.items;if(!skip_children){for(var i=0;i<items.length;i++){nitems.push(cn.addxtype(Roo.apply({}
 ,items[i])));}}cn.items=nitems;this.fireEvent('childrenrendered',this);return cn;},show:function(){if(this.el){this.el.removeClass('hidden');}},hide:function(){if(this.el&&!this.el.hasClass('hidden')){this.el.addClass('hidden');}}});
 // Roo/bootstrap/Body.js
-Roo.bootstrap.Body=function(A){Roo.bootstrap.Body.superclass.constructor.call(this,A);this.el=Roo.get(document.body);if(this.cls&&this.cls.length){Roo.get(document.body).addClass(this.cls);}};Roo.extend(Roo.bootstrap.Body,Roo.bootstrap.Component,{autoCreate:{cls:'container'}
+Roo.bootstrap.Body=function(A){Roo.bootstrap.Body.superclass.constructor.call(this,A);this.el=Roo.get(document.body);if(this.cls&&this.cls.length){Roo.get(document.body).addClass(this.cls);}};Roo.extend(Roo.bootstrap.Body,Roo.bootstrap.Component,{is_body:true,autoCreate:{cls:'container'}
 ,onRender:function(ct,A){}});
 // Roo/bootstrap/ButtonGroup.js
 Roo.bootstrap.ButtonGroup=function(A){Roo.bootstrap.ButtonGroup.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.ButtonGroup,Roo.bootstrap.Component,{size:'',align:'',direction:'',toolbar:false,btn:true,getAutoCreate:function(){var A={cls:'btn-group',html:null}