fixed issue on load

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 3a401c1f6e
commit 50a3bd9594
  1. 4
      resources/library/applications/GeoInfo.wgt/GeoInfo.html
  2. 2
      resources/library/applications/GeoInfo.wgt/js/soapclient.js

@ -31,7 +31,7 @@
</script> </script>
</head> </head>
<body onLoad="recevoirPays('')" onClick="coords = coords + (event.clientX-13) + ',' + (event.clientY-13) + ','"> <body onClick="coords = coords + (event.clientX-13) + ',' + (event.clientY-13) + ','">
<!-- Div contenant le point d'interrogation pour les satistiques--> <!-- Div contenant le point d'interrogation pour les satistiques-->
<div class="question"> <div class="question">
@ -2081,4 +2081,4 @@
</div> </div>
</body> </body>
</html> </html>

@ -143,6 +143,7 @@ SOAPClient._loadWsdl = function(url, method, parameters, async, callback)
} }
} }
xmlHttp.send(null); xmlHttp.send(null);
if (!async) if (!async)
return SOAPClient._onLoadWsdl(url, method, parameters, async, callback, xmlHttp); return SOAPClient._onLoadWsdl(url, method, parameters, async, callback, xmlHttp);
} }
@ -154,6 +155,7 @@ SOAPClient._onLoadWsdl = function(url, method, parameters, async, callback, req)
} }
SOAPClient._sendSoapRequest = function(url, method, parameters, async, callback, wsdl) SOAPClient._sendSoapRequest = function(url, method, parameters, async, callback, wsdl)
{ {
alert();
// get namespace // get namespace
var ns = (wsdl.documentElement.attributes["targetNamespace"] + "" == "undefined") ? wsdl.documentElement.attributes.getNamedItem("targetNamespace").nodeValue : wsdl.documentElement.attributes["targetNamespace"].value; var ns = (wsdl.documentElement.attributes["targetNamespace"] + "" == "undefined") ? wsdl.documentElement.attributes.getNamedItem("targetNamespace").nodeValue : wsdl.documentElement.attributes["targetNamespace"].value;
// build SOAP request // build SOAP request

Loading…
Cancel
Save