[Commits] r1226 - apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer

commits at geoext.org commits at geoext.org
Sat Jul 4 14:28:12 CEST 2009


Author: ahocevar
Date: 2009-07-04 14:28:12 +0200 (Sat, 04 Jul 2009)
New Revision: 1226

Modified:
   apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/GroupContainer.js
Log:
fixed typo

Modified: apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/GroupContainer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/GroupContainer.js	2009-07-04 09:14:53 UTC (rev 1225)
+++ apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/GroupContainer.js	2009-07-04 12:28:12 UTC (rev 1226)
@@ -58,7 +58,7 @@
         GeoExplorer.GroupContainer.superclass.onStoreAdd.apply(this, arguments);
         if (this.defaults && this.defaults.checkedGroup && !this._reordering) {
             Ext.each(records, function(record) {
-                this.enforceOneVisible(record);
+                //this.enforceOneVisible(record);
             }, this);
         }
     },
@@ -89,7 +89,7 @@
                     return !last;
                 });
                 if (last) {
-                    this.enforceOneVisible(last);
+                    //this.enforceOneVisible(last);
                 }
             }
         }
@@ -111,7 +111,7 @@
          * TODO: http://www.geoext.org/trac/geoext/ticket/109
          */
         if (this.defaults && this.defaults.checkedGroup) {
-            this.enforceOneVisible(record);
+            //this.enforceOneVisible(record);
         }
     },
     
@@ -218,7 +218,7 @@
         var record;
         for(var i=count-1; i>=0; --i) {
             record = store.getAt(i);
-            if(l.displayInLayerSwitcher &&
+            if(layer.displayInLayerSwitcher &&
                (record.get("group") == this.group)) {
                 ++nodeIndex;
                 if(index === nodeIndex) {



More information about the Commits mailing list