remove debugging code
[roojs1] / Roo / ContentPanel.js
index a20a05d..29f2a68 100644 (file)
  * @param {String} region (optional) Used by xtype constructors to add to regions. (values center,east,west,south,north)
  */
 Roo.ContentPanel = function(el, config, content){
-    Roo.log('Content Panel call');
-    Roo.log(el);
-    Roo.log(config);
-    Roo.log(content);
+    
      
     /*
     if(el.autoCreate || el.xtype){ // xtype is available if this is called from factory
@@ -133,8 +130,7 @@ Roo.ContentPanel = function(el, config, content){
          * @param {Roo.ContentPanel} this
          */
         "render" : true
-        
-        
+         
         
     });
     
@@ -310,7 +306,7 @@ panel.load({
         }
         if(this.footer){
             var te = this.footer.getEl();
-            Roo.log("footer:" + te.getHeight());
+            //Roo.log("footer:" + te.getHeight());
             
             height -= te.getHeight();
             te.setWidth(width);
@@ -436,7 +432,9 @@ layout.addxtype({
             this.form = new  Roo.form.Form(cfg);
             
             
-            if ( this.form.allItems.length) this.form.render(el.dom);
+            if ( this.form.allItems.length) {
+                this.form.render(el.dom);
+            }
             return this.form;
         }
         // should only have one of theses..