[fusion-commits] r1560 - trunk/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Sep 26 15:42:12 EDT 2008


Author: pagameba
Date: 2008-09-26 15:42:12 -0400 (Fri, 26 Sep 2008)
New Revision: 1560

Modified:
   trunk/widgets/Legend.js
Log:
Jx.Tree now takes an options object in its constructor

Modified: trunk/widgets/Legend.js
===================================================================
--- trunk/widgets/Legend.js	2008-09-26 17:28:15 UTC (rev 1559)
+++ trunk/widgets/Legend.js	2008-09-26 19:42:12 UTC (rev 1560)
@@ -239,7 +239,7 @@
         //this.layerInfoURL = json.LayerInfoURL ? json.LayerInfoURL[0] : '';
         this.selectedLayer = null;
        
-        this.oTree = new Jx.Tree(this.oLegend.domObj);
+        this.oTree = new Jx.Tree({parent:this.oLegend.domObj});
        
         this.hideInvisibleLayers = (json.HideInvisibleLayers && json.HideInvisibleLayers[0]) == 'true' ? true : false;
         //console.log('hideInvisibleLayers ' +  this.hideInvisibleLayers);



More information about the fusion-commits mailing list