From 61225ed98f2a52d5566eea0f8027716c0395b5eb Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 2 Aug 2008 01:44:26 +0000 Subject: [PATCH] Fixing an obvious bug in Ajax.js: when we upgraded Prototype, we missed a pair -> extras, caught by 'falstaff'. (Closes #1559) git-svn-id: http://svn.openlayers.org/trunk/openlayers@7677 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Ajax.js b/lib/OpenLayers/Ajax.js index 693b1c1097..05a26b725b 100644 --- a/lib/OpenLayers/Ajax.js +++ b/lib/OpenLayers/Ajax.js @@ -405,7 +405,7 @@ OpenLayers.Ajax.Request = OpenLayers.Class(OpenLayers.Ajax.Base, { } } else { for (var i in extras) { - headers[i] = pair[i]; + headers[i] = extras[i]; } } }