Roo/ViewPanel.js
authorChris <chris@roojs.com>
Mon, 21 Oct 2013 09:58:15 +0000 (17:58 +0800)
committerChris <chris@roojs.com>
Mon, 21 Oct 2013 09:58:15 +0000 (17:58 +0800)
Roo/ViewPanel.js

index 8333e92..0279755 100644 (file)
@@ -23,7 +23,7 @@ Roo.ViewPanel = function(el, config){
     this.wrapper = Roo.DomHelper.append(document.body, // wrapper for IE7 strict & safari scroll issue
         {tag: "div", cls: "x-layout-grid-wrapper x-layout-inactive-content"}, true);
         
-    this.wrapper.dom.appendChild(view.el.dom);
+    this.wrapper.dom.appendChild(el.dom);
     
     Roo.ViewPanel.superclass.constructor.call(this, this.wrapper, config);