From 43de5e9e0cc6906ed5aa8d093f0953454ac42c42 Mon Sep 17 00:00:00 2001 From: Jachym Cepicky Date: Sun, 17 Jun 2012 22:04:27 +0200 Subject: [PATCH] minor cosmetic changes --- lib/OpenLayers/Format/WPSExecute.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/OpenLayers/Format/WPSExecute.js b/lib/OpenLayers/Format/WPSExecute.js index 257a77c8e6..3acba4d845 100644 --- a/lib/OpenLayers/Format/WPSExecute.js +++ b/lib/OpenLayers/Format/WPSExecute.js @@ -316,7 +316,6 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, { creationTime: node.getAttribute("creationTime") }; this.readChildNodes(node, obj.status); - }, "ProcessSucceeded": function(node,obj) { obj.processSucceeded = true; @@ -359,7 +358,8 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, { // try to get *some* value, ignore the empty text values if (this.isSimpleContent(node)) { - for(var child=node.firstChild; child; child=child.nextSibling) { + var child; + for(child=node.firstChild; child; child=child.nextSibling) { switch(child.nodeType) { case 3: // text node case 4: // cdata section @@ -368,7 +368,7 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, { } } else { - for(var child=node.firstChild; child; child=child.nextSibling) { + for(child=node.firstChild; child; child=child.nextSibling) { if (child.nodeType == 1) { output.complexData.value = child; }