[fusion-commits] r1818 - trunk/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Mar 12 16:23:04 EDT 2009


Author: pdeschamps
Date: 2009-03-12 16:23:04 -0400 (Thu, 12 Mar 2009)
New Revision: 1818

Modified:
   trunk/widgets/LayerManager.js
Log:
re #223: be careful to check if widgets should be initially activated 
too


Modified: trunk/widgets/LayerManager.js
===================================================================
--- trunk/widgets/LayerManager.js	2009-03-11 20:34:33 UTC (rev 1817)
+++ trunk/widgets/LayerManager.js	2009-03-12 20:23:04 UTC (rev 1818)
@@ -42,7 +42,7 @@
  *
  * LayerThemeIcon: (string, optional)
  *
- * The url to an image to use for layers that are currently themed.
+ * The url to an image toTopography use for layers that are currently themed.
  *
  * DisabledLayerIcon: (string, optional)
  *
@@ -102,7 +102,7 @@
       var map = this.getMap();
       for (var i=0; i<map.aMaps.length; ++i) {
         var mapBlock = document.createElement('li');
-        this.mapBlock.className = 'jxLmanMap';
+        mapBlock.className = 'jxLmanMap';
         mapBlock.id = 'mapBlock_'+i;
         
         //add a handle so the map blocks can be re-arranged
@@ -145,11 +145,13 @@
         blockItem.layer = processArray[i];
       }
       
+      /*
       var options = [];
       options.onUpdate = OpenLayers.Function.bind(this.updateLayer, this, map);
       options.scroll = this.domObj.id;    //docs for this at: http://wiki.script.aculo.us/scriptaculous/show/Sortable.create
       Position.includeScrollOffsets = true;
       Sortable.create(mapBlockList.id, options);
+      */
     },
    
   createItemHtml: function(parent, layer) {
@@ -189,15 +191,15 @@
   },
   
   setGrabCursor: function(ev) {
-    this.setCursor(this.cursorNormal, Event.element(ev) );
+   // this.setCursor(this.cursorNormal, Event.element(ev) );
   },
   
   setDragCursor: function(ev) {
-    this.setCursor(this.cursorDrag, Event.element(ev) );
+   // this.setCursor(this.cursorDrag, Event.element(ev) );
   },
   
   setNormalCursor: function(ev) {
-    this.setCursor('auto', Event.element(ev) );
+    //this.setCursor('auto', Event.element(ev) );
   },
   
   setCursor : function(cursor, domObj) {



More information about the fusion-commits mailing list