Roo/bootstrap/Component.js
authorAlan Knowles <alan@roojs.com>
Thu, 8 Sep 2016 13:15:33 +0000 (21:15 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 8 Sep 2016 13:15:33 +0000 (21:15 +0800)
Roo/bootstrap/Component.js

index 0a088fb..b6e9cc0 100644 (file)
@@ -242,7 +242,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         
          skip_children = false;
         // render the element if it's not BODY.
-        if (tree.xtype != 'Body') {
+        if ((!is_body) {
            
             cn = Roo.factory(tree);