diff --git a/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js b/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js index 82b4ba58ce..41f90be073 100644 --- a/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js +++ b/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js @@ -97,7 +97,8 @@ OpenLayers.Format.WMSDescribeLayer.v1_1 = OpenLayers.Class( }; describelayer.layerDescriptions.push(layerDescription); - // deprecated array style index for backwards compatibility + //TODO do this in deprecated.js instead: + // array style index for backwards compatibility describelayer.length = describelayer.layerDescriptions.length; describelayer[describelayer.length - 1] = layerDescription;