Tree Icons are displayed middle instead of top
authormr-russ <mr-russ>
Wed, 19 Jan 2005 10:50:19 +0000 (10:50 +0000)
committermr-russ <mr-russ>
Wed, 19 Jan 2005 10:50:19 +0000 (10:50 +0000)
HISTORY
classes/HTML_TreeMenu/TreeMenu.js

diff --git a/HISTORY b/HISTORY
index 52d67278eaf632c09cc6012789e9a565e70fc25b..650ea04cfeefde3dd660d5c40853ef6c7947ace7 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -5,6 +5,7 @@ Version 3.6-dev
 ---------------
 
 Bugs
+* Tree Icons are displayed middle instead of top
 * Ensure login frame is always at top level (Russell Smith)
 
 Version 3.5.1
index 7a7d73d53db35cc85f3081a8e33f413bc038764b..90d716e383b9e3135c1b50e3abbafe49dc0383c8 100755 (executable)
@@ -32,7 +32,7 @@
 // |         Harald Radi <[email protected]>                              |
 // +-----------------------------------------------------------------------+
 //
-// $Id: TreeMenu.js,v 1.5 2004/02/02 06:32:18 chriskl Exp $
+// $Id: TreeMenu.js,v 1.6 2005/01/19 10:50:20 mr-russ Exp $
 
 /**
 * Function to create copies of objects which are
@@ -202,7 +202,7 @@ function arrayCopy(input)
                */
                        var gifname  = nodes[i].n.length && this.doesMenu() && nodes[i].isDynamic ? (expanded ? 'minus' : 'plus') : 'branch';
                        var iconName = expanded && nodes[i].expandedIcon ? nodes[i].expandedIcon : nodes[i].icon;
-                       var iconimg  = nodes[i].icon ? this.stringFormat('<img src="{0}/{1}" width="20" height="20" border="0" align="top" id="icon_{2}">', this.iconpath, iconName, layerID) : '';
+                       var iconimg  = nodes[i].icon ? this.stringFormat('<img src="{0}/{1}" width="20" height="20" border="0" align="middle" id="icon_{2}">', this.iconpath, iconName, layerID) : '';
                        
                        /**
                        * Add event handlers