Changeset 1226
- Timestamp:
- 07/04/09 14:28:12 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer/GroupContainer.js
r1223 r1226 59 59 if (this.defaults && this.defaults.checkedGroup && !this._reordering) { 60 60 Ext.each(records, function(record) { 61 this.enforceOneVisible(record);61 //this.enforceOneVisible(record); 62 62 }, this); 63 63 } … … 90 90 }); 91 91 if (last) { 92 this.enforceOneVisible(last);92 //this.enforceOneVisible(last); 93 93 } 94 94 } … … 112 112 */ 113 113 if (this.defaults && this.defaults.checkedGroup) { 114 this.enforceOneVisible(record);114 //this.enforceOneVisible(record); 115 115 } 116 116 }, … … 219 219 for(var i=count-1; i>=0; --i) { 220 220 record = store.getAt(i); 221 if(l .displayInLayerSwitcher &&221 if(layer.displayInLayerSwitcher && 222 222 (record.get("group") == this.group)) { 223 223 ++nodeIndex;