call SP auth only for SP
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 20 Jun 2013 14:17:35 +0000 (14:17 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 20 Jun 2013 14:17:35 +0000 (14:17 +0000)
experiments/spclient/mkws.js

index 69a30f7..b966f1d 100644 (file)
@@ -433,7 +433,8 @@ function mkws_html_all(data) {
     </div>');
 
     mkws_html_switch(config);
-    mkws_service_proxy_auth(config.service_proxy_auth);
+    if (mkws_config.use_service_proxy)
+       mkws_service_proxy_auth(config.service_proxy_auth);
 
     domReady();
 }