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

index 4571ad8..9a0f4d1 100644 (file)
@@ -162,10 +162,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.render && this.on('render', 
-                function() { 
-                        this.view.render(false, '',this); 
-                }, this); // render blank..
+        this.view.render  &&  this.view.render(false, '');  
     }