Roo/ContentPanel.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 5 Aug 2010 03:24:49 +0000 (11:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 5 Aug 2010 03:24:49 +0000 (11:24 +0800)
Roo/ContentPanel.js

index d3582c2..b117fba 100644 (file)
@@ -658,10 +658,12 @@ Roo.TreePanel = function(config){
     
     // wrapper for IE7 strict & safari scroll issue
     
-    this.resizeEl = el;
+    
+    var treeEl = el.createChild();
+    this.resizeEl = treeEl;
     Roo.TreePanel.superclass.constructor.call(this, el, config);
  
-    var treeEl = el.createChild();
     this.tree = new Roo.tree.TreePanel(treeEl , tree);
     //console.log(tree);
     this.on('activate', function()