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

index 40a12d4..cdd2b0f 100644 (file)
@@ -138,7 +138,10 @@ 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) // render blank..
+        this.view.render && this.on('render', 
+                function() { 
+                        this.view.render(false, ''); 
+                }, this); // render blank..
     }