From: Wolfram Schneider Date: Thu, 20 Jun 2013 13:34:06 +0000 (+0000) Subject: run service proxy auth after the HTML page was rendered, and make it configurable X-Git-Tag: 0.9.1~574^2~16 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=1f5c472fe0aad8f7c9526fc24b8d2626774cf5a5;p=mkws-moved-to-github.git run service proxy auth after the HTML page was rendered, and make it configurable --- diff --git a/experiments/spclient/mkws.js b/experiments/spclient/mkws.js index cb1a459..21cd04b 100644 --- a/experiments/spclient/mkws.js +++ b/experiments/spclient/mkws.js @@ -432,6 +432,7 @@ function mkws_html_all(data) { '); $("#mkwsTargets").css("display", "none"); + mkws_service_proxy_auth(config.service_proxy_auth); domReady(); } @@ -514,5 +515,5 @@ function mkws_service_proxy_auth(auth_url) { }); } +/* magic */ $(document).ready(function() { mkws_html_all(mkws_config) }); -$(document).ready(function() { mkws_service_proxy_auth(); });