Revision: 1749
          http://svn.sourceforge.net/vexi/?rev=1749&view=rev
Author:   mkpg2
Date:     2007-03-25 00:22:28 -0700 (Sun, 25 Mar 2007)

Log Message:
-----------
Fix. var declaration after use of var (no longer allowed).

Modified Paths:
--------------
    widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tree.t

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tree.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tree.t      
2007-03-23 11:14:36 UTC (rev 1748)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tree.t      
2007-03-25 07:22:28 UTC (rev 1749)
@@ -37,6 +37,13 @@
         /** organise the content in columns */
         thisbox.th_content ++= function(v)
         {
+            var vtrailHeightFunc = function(h)
+            {
+                cascade = h;
+                $vtrail.height = v[v.numchildren-1].y + 10;
+            }
+            v.height ++= vtrailHeightFunc;
+
             v.cols = 1;
             
             v.ChildAdded ++= function(c)
@@ -70,14 +77,6 @@
                 }
                 cascade = d;
             }
-            
-            var vtrailHeightFunc = function(h)
-            {
-                cascade = h;
-                $vtrail.height = v[v.numchildren-1].y + 10;
-            }
-            
-            v.height ++= vtrailHeightFunc;
         }
         
         thisbox.padFunc = function(v)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to