[Commits] r1902 - core/trunk/geoext/lib/GeoExt/widgets/tree

commits at geoext.org commits at geoext.org
Tue Feb 16 11:57:11 CET 2010


Author: fredj
Date: 2010-02-16 11:57:11 +0100 (Tue, 16 Feb 2010)
New Revision: 1902

Modified:
   core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js
Log:
remove unused variables. r=ahocevar (closes #224)

Modified: core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js	2010-02-16 08:34:47 UTC (rev 1901)
+++ core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js	2010-02-16 10:57:11 UTC (rev 1902)
@@ -79,7 +79,6 @@
             var checkedCount = 0;
             // enforce "not more than one visible"
             Ext.each(checkedNodes, function(n){
-                var ui = n.getUI();
                 var l = n.layer
                 if(!n.hidden && n.attributes.checkedGroup === group) {
                     checkedCount++;
@@ -90,7 +89,6 @@
             });
             // enforce "at least one visible"
             if(checkedCount === 0 && attributes.checked == false) {
-                var ui = this.node.getUI();
                 layer.setVisibility(true);
             }
         }



More information about the Commits mailing list