log if Service proxy auth HTTP request was successfully done
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 29 Aug 2013 12:15:39 +0000 (14:15 +0200)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 29 Aug 2013 12:15:39 +0000 (14:15 +0200)
tools/htdocs/mkws.js

index 5db8b45..144d2de 100644 (file)
@@ -752,6 +752,7 @@ function mkws_service_proxy_auth(auth_url) {
        alert("HTTP call for authentication failed: " + err)
        return;
     });
+
     request.get(null, function(data) {
        if (!$.isXMLDoc(data)) {
            alert("service proxy auth response document is not valid XML document, give up!");
@@ -762,6 +763,9 @@ function mkws_service_proxy_auth(auth_url) {
            alert("service proxy auth repsonse status: " + status.text() + ", give up!");
            return;
        }
+
+       debug("Service proxy auth successfully done");
+       mkws.service_proxy_auth = true;
     });
 }