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
This commit is contained in:
@@ -393,7 +393,7 @@ OpenLayers.Ajax.Request = OpenLayers.Class(OpenLayers.Ajax.Base, {
|
|||||||
if (typeof this.options.requestHeaders == 'object') {
|
if (typeof this.options.requestHeaders == 'object') {
|
||||||
var extras = this.options.requestHeaders;
|
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) {
|
for (var i = 0, length = extras.length; i < length; i += 2) {
|
||||||
headers[extras[i]] = extras[i+1];
|
headers[extras[i]] = extras[i+1];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user