Upgrade to ExtJS 3.2.1 - Released 04/27/2010
[extjs.git] / docs / resources / docs.js
index 1d8a961..7f120a2 100644 (file)
@@ -7,6 +7,7 @@ ApiPanel = function() {
         id:'api-tree',
         region:'west',
         split:true,
+        header: false,
         width: 280,
         minSize: 175,
         maxSize: 500,
@@ -95,10 +96,11 @@ Ext.extend(ApiPanel, Ext.tree.TreePanel, {
                
                // hide empty packages that weren't filtered
                this.hiddenPkgs = [];
+                var me = this;
                this.root.cascade(function(n){
                        if(!n.attributes.isClass && n.ui.ctNode.offsetHeight < 3){
                                n.ui.hide();
-                               this.hiddenPkgs.push(n);
+                               me.hiddenPkgs.push(n);
                        }
                });
        },
@@ -334,7 +336,7 @@ Ext.extend(MainPanel, Ext.TabPanel, {
                '<tpl for=".">',
                '<div class="search-item">',
                    '<a class="member" ext:cls="{cls}" ext:member="{member}" href="output/{cls}.html">',
-                               '<img src="resources/images/default/s.gif" class="item-icon icon-{type}"/>{member}',
+                               '<img src="../resources/images/default/s.gif" class="item-icon icon-{type}"/>{member}',
                                '</a> ',
                                '<a class="cls" ext:cls="{cls}" href="output/{cls}.html">{cls}</a>',
                    '<p>{doc}</p>',