FireFox apparently doesn't return any text with node.text, but it doesn't
throw an exception either. This change makes the WFS example work in FF -- I'll have to check the effect it has on IE. git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1328 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -355,6 +355,8 @@ OpenLayers.Util.getXmlNodeValue = function(node) {
|
||||
Try.these(
|
||||
function() {
|
||||
val = node.text;
|
||||
if (!val)
|
||||
val = node.textContent;
|
||||
},
|
||||
function() {
|
||||
val = node.textContent;
|
||||
|
||||
Reference in New Issue
Block a user