diff --git a/resources/library/applications/GeoInfo.wgt/js/GeoInfo.js b/resources/library/applications/GeoInfo.wgt/js/GeoInfo.js index c1c5c9c0..c044b672 100644 --- a/resources/library/applications/GeoInfo.wgt/js/GeoInfo.js +++ b/resources/library/applications/GeoInfo.wgt/js/GeoInfo.js @@ -106,7 +106,8 @@ function popupInfo(text) // affiche le text de l'erreur en cas de problème function erreur(texteErreur) { - alert(texteErreur); + //alert(texteErreur); + sankore.showMessage(texteErreur); } // permet d'appeller la fonction pour recevoir les statistiques du serveur @@ -136,7 +137,8 @@ function recevoirStatsReponse(resultat, soapResponse) + "\n" + "Version de l'application: " + objDomTree.getElements("env:Body")[0].getElements("ser:getInfosResponse")[0].getElements("GeoStats")[0].getElements("version")[0].getText()); - alert(stats); + //alert(stats); + sankore.showMessage(stats); } // permet d'appeller la fonction pour recevoir les informations du pays diff --git a/resources/library/applications/GeoInfo.wgt/js/soapclient.js b/resources/library/applications/GeoInfo.wgt/js/soapclient.js index 0c50b23c..66bc3d0a 100644 --- a/resources/library/applications/GeoInfo.wgt/js/soapclient.js +++ b/resources/library/applications/GeoInfo.wgt/js/soapclient.js @@ -155,7 +155,7 @@ SOAPClient._onLoadWsdl = function(url, method, parameters, async, callback, req) } SOAPClient._sendSoapRequest = function(url, method, parameters, async, callback, wsdl) { - alert(); + //alert(); // get namespace var ns = (wsdl.documentElement.attributes["targetNamespace"] + "" == "undefined") ? wsdl.documentElement.attributes.getNamedItem("targetNamespace").nodeValue : wsdl.documentElement.attributes["targetNamespace"].value; // build SOAP request