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

commits at geoext.org commits at geoext.org
Sat Jul 4 14:36:25 CEST 2009


Author: ahocevar
Date: 2009-07-04 14:36:25 +0200 (Sat, 04 Jul 2009)
New Revision: 1227

Modified:
   apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/GroupContainer.js
Log:
reverted parts of my previous change, which had commented out all calls of enforceOneVisible (for testing of the latest patch for http://www.geoext.org/trac/geoext/ticket/109)

Modified: apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/GroupContainer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/GroupContainer.js	2009-07-04 12:28:12 UTC (rev 1226)
+++ apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/GroupContainer.js	2009-07-04 12:36:25 UTC (rev 1227)
@@ -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);
         }
     },
     



More information about the Commits mailing list