Roo/bootstrap/Component.js
authorEdward <edward@roojs.com>
Fri, 21 Mar 2014 13:15:20 +0000 (21:15 +0800)
committerEdward <edward@roojs.com>
Fri, 21 Mar 2014 13:15:20 +0000 (21:15 +0800)
Roo/bootstrap/Component.js

index b461bc3..02e2999 100644 (file)
@@ -108,7 +108,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         cntr = typeof(cntr == 'undefined' ) ? 'getChildContainer' : cntr;
         
         // render the element if it's not BODY.
-        if (tree.xtype != 'Body' || tree.xtype != 'Modal') {
+        if (tree.xtype != 'Body') {
             
             cn = Roo.factory(tree);