From: Wolfram Schneider Date: Thu, 20 Jun 2013 12:21:07 +0000 (+0000) Subject: refactor mkws_service_proxy_auth() X-Git-Tag: 0.9.1~574^2~32 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=91e0c33b42f567a97dd88b0f415c4a4d5455ac89;p=mkws-moved-to-github.git refactor mkws_service_proxy_auth() --- diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index 3c8d76e..af9ba21 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -426,7 +426,7 @@ $(document).ready(function() { domReady(); }); -$(document).ready(function() { +function mkws_service_proxy_auth() { var jqxhr = jQuery.get("/service-proxy-auth") .fail(function() { alert("service proxy authentification failed, give up!"); @@ -442,4 +442,9 @@ $(document).ready(function() { return; } }); +} + +$(document).ready(function() { + mkws_service_proxy_auth(); }); +