Changeset 261


Ignore:
Timestamp:
03/24/09 14:24:14 (9 years ago)
Author:
ahocevar
Message:

fixed typos in WMSCapabilities reader (see #26)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/opengeo/geoexplorer/lib/GeoExt/data/WMSCapabilitiesReader.js

    r256 r261  
    8484        var url = data.capability.request.getmap.href;
    8585        var records = [], layer;       
    86         for(var i=0, len=data.capability.layers.length; i<len i++){
     86        for(var i=0; len=data.capability.layers.length, i<len; i++){
    8787            layer = data.capability.layers[i];
    8888            if(layer.name) {
     
    9393                        layer.title || layer.name,
    9494                        url,
    95                         {layers: layer.name}
     95                        {layers: layer.name},
    9696                        {isBaseLayer: false} // TODO: decide where to fix this
    9797                    ),
Note: See TracChangeset for help on using the changeset viewer.