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

index 70418bc..40a12d4 100644 (file)
@@ -137,8 +137,7 @@ Roo.ContentPanel = function(el, config, content){
     
     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 = Roo.factory(this.view); 
         this.view.render && this.on('render', function() { this.view.render(false, ''); }, this) // render blank..
     }