From d516b63fe30f9f57847cb07287d43a4bcccc6dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 3 Jan 2008 09:58:39 +0000 Subject: [PATCH] fix typo in Ajax.js. Thanks david reksten for reporting this. (closes #1242) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5644 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 7fe683b357..76901e8d80 100644 --- a/lib/OpenLayers/Ajax.js +++ b/lib/OpenLayers/Ajax.js @@ -393,7 +393,7 @@ OpenLayers.Ajax.Request = OpenLayers.Class(OpenLayers.Ajax.Base, { if (typeof this.options.requestHeaders == 'object') { var extras = this.options.requestHeaders; - if (typeof extra.push == 'function') { + if (typeof extras.push == 'function') { for (var i = 0, length = extras.length; i < length; i += 2) { headers[extras[i]] = extras[i+1]; }