[OpenLayers-Commits] r12111 - trunk/openlayers/lib/OpenLayers/Format/GML

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Mon Jun 20 07:08:19 EDT 2011


Author: ahocevar
Date: 2011-06-20 04:08:18 -0700 (Mon, 20 Jun 2011)
New Revision: 12111

Modified:
   trunk/openlayers/lib/OpenLayers/Format/GML/Base.js
Log:
calling the method on the superclass only with the advertised arguments. Thanks bartvde for catching this (see #3367)

Modified: trunk/openlayers/lib/OpenLayers/Format/GML/Base.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Format/GML/Base.js	2011-06-20 10:59:28 UTC (rev 12110)
+++ trunk/openlayers/lib/OpenLayers/Format/GML/Base.js	2011-06-20 11:08:18 UTC (rev 12111)
@@ -227,7 +227,7 @@
             this.featureNS = node.namespaceURI;
             this.autoConfig = true;
         }
-        return OpenLayers.Format.XML.prototype.readNode.apply(this, arguments);
+        return OpenLayers.Format.XML.prototype.readNode.apply(this, [node, obj]);
     },
 
     /**



More information about the Commits mailing list