Roo/bootstrap/Component.js
authorAlan Knowles <alan@roojs.com>
Thu, 18 Sep 2014 09:18:15 +0000 (17:18 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 18 Sep 2014 09:18:15 +0000 (17:18 +0800)
Roo/bootstrap/Component.js

index fc12a30..c66b52e 100644 (file)
@@ -141,7 +141,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
           
         var page_has_body = (Roo.get(document.body).attr('xtype') == 'Roo.bootstrap.Body');
           
-        var self_cntr_el = Roo.get(this[cntr]());
+        var self_cntr_el = Roo.get(this[cntr](false));
         
         if (!has_flexy_each || !build_from_html || is_body || !page_has_body) {
             if(!has_flexy_if || typeof(tree.name) == 'undefined' || !build_from_html || is_body || !page_has_body){