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

index 0e02699..0858a9a 100644 (file)
@@ -655,11 +655,12 @@ Roo.TreePanel = function(config){
     var tree = config.tree;
     delete config.tree; 
     delete config.el; // hopefull!
-    Roo.TreePanel.superclass.constructor.call(this, el, config);
-    if(this.toolbar){
-        this.toolbar.el.insertBefore(this.wrapper.dom.firstChild);
-    }
     
+    // wrapper for IE7 strict & safari scroll issue
+    
+    
+    Roo.TreePanel.superclass.constructor.call(this, el, config);
     var treeEl = el.createChild();
     this.tree = new Roo.tree.TreePanel(treeEl , tree);
     //console.log(tree);