Roo/ContentPanel.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2012 08:26:29 +0000 (16:26 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2012 08:26:29 +0000 (16:26 +0800)
Roo/ContentPanel.js

index 5de8598..c2f9b07 100644 (file)
@@ -99,6 +99,7 @@ Roo.ContentPanel = function(el, config, content){
     // handle view.xtype
     
     if (this.view && typeof(this.view.xtype) != 'undefined') {
+        view.el = this.el.appendChild(document.createElement("div"));
         this.view = Roo.factory(this.view);
         this.view.render && this.view.render(false, ''); // render blank..
     }