[OpenLayers-Users] Object required error in OpenLayers.Ajax.Request.respondToReadyState

vgvallee vgvallee at hotmail.com
Thu Oct 25 17:33:06 EDT 2007


I think I've found part of the problem:

in Layer\GML.js, function requestSuccess, the following line:

if (!doc || request.fileType!="XML") {

always have the second part true since 'request.fileType' is not defined (at
least when running in IE7). Changing it to

if (!doc) {

solves the problem.

The error in VS should actually point to the catch statement when the
(this.options['on' + event] || OpenLayers.Ajax.emptyFunction)(transport,
json); cannot be executed...

-- 
View this message in context: http://www.nabble.com/Alternative-to-defining-%27preInsertFeature%27-tf4693011.html#a13416447
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list