[Pywps-commits] r1162 - trunk/webclient

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jul 1 10:59:30 CEST 2011


Author: jesus
Date: 2011-07-01 10:59:29 +0200 (Fri, 01 Jul 2011)
New Revision: 1162

Modified:
   trunk/webclient/WPS.js
Log:
getAttributeNS(dom,uri, name)), in case of no URI the parameter should be "" not null (null only works in Firefox)


Modified: trunk/webclient/WPS.js
===================================================================
--- trunk/webclient/WPS.js	2011-06-30 15:29:38 UTC (rev 1161)
+++ trunk/webclient/WPS.js	2011-07-01 08:59:29 UTC (rev 1162)
@@ -813,7 +813,7 @@
 	
 
 	if (reference.length > 0) {
-            output.setValue(OpenLayers.Format.XML.prototype.getAttributeNS(reference[0],null, "href"));
+            output.setValue(OpenLayers.Format.XML.prototype.getAttributeNS(reference[0],"", "href"));
         }
         else if(literalData.length > 0) {
             output.setValue(literalData[0].firstChild.nodeValue);



More information about the Pywps-commits mailing list