pre-opening the sidebar trees (or not closing them, rather)
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Nov 2005 23:03:08 +0000 (23:03 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Nov 2005 23:03:08 +0000 (23:03 +0000)
added some padding after the root image

git-svn-id: svn://svn.open-ils.org/ILS/trunk@2012 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/common/js/slimtree.js
Open-ILS/web/opac/skin/default/js/result_common.js

index 6c301ad..46d4a6b 100644 (file)
@@ -18,7 +18,7 @@ function SlimTree(context, handle, rootimg) {
        this.handle             = handle;
        this.cache              = new Object();
        if(rootimg) 
-               this.rootimg = elem('img', {src:rootimg,border:0});
+               this.rootimg = elem('img', {src:rootimg,border:0,style:'padding-right: 4px;'});
 }
 
 SlimTree.prototype.cacheMe = function( id, pid, name, action, title ) {
index af89c86..1d42024 100644 (file)
@@ -385,7 +385,7 @@ function resultDrawSidebarTrees( stype, treeName, items, wrapperNode, destNode )
 
        if(found) {
                unHideMe(wrapperNode);
-               tree.close(tree.rootid);
+               //tree.close(tree.rootid);
        }
 }