Roo/ContentPanel.js
authorChris <chris@roojs.com>
Mon, 21 Oct 2013 11:45:38 +0000 (19:45 +0800)
committerChris <chris@roojs.com>
Mon, 21 Oct 2013 11:45:38 +0000 (19:45 +0800)
Roo/ContentPanel.js

index 9a0f4d1..f2335cc 100644 (file)
@@ -159,7 +159,7 @@ Roo.ContentPanel = function(el, config, content){
     
     Roo.ContentPanel.superclass.constructor.call(this);
     
-        if (this.view && typeof(this.view.xtype) != 'undefined') {
+    if (this.view && typeof(this.view.xtype) != 'undefined') {
         this.view.el = this.el.appendChild(document.createElement("div"));
         this.view = Roo.factory(this.view); 
         this.view.render  &&  this.view.render(false, '');