move the config to index.html
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 20 Jun 2013 12:49:11 +0000 (12:49 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 20 Jun 2013 12:49:11 +0000 (12:49 +0000)
experiments/spclient/index.html
experiments/spclient/mkws.js

index ccf463b..919b2d0 100644 (file)
     <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
     <script type="text/javascript" src="/libjs-pz2/pz2api.1.js"></script>
     <script type="text/javascript" src="mkws.js"></script>
+    <script type="text/javascript">
+       $(document).ready(function() { 
+               mkws_html_all({ mkws_switch: false }); 
+       });
+    </script>
   </head>
   <body>
     <!-- These five <div>s are provided by MKWS -->
index 0948f1b..d823c4a 100644 (file)
@@ -474,6 +474,6 @@ function mkws_service_proxy_auth() {
        });
 }
 
-$(document).ready(function() { mkws_html_all( { mkws_switch: false }); });
+/* moved to index.html:  $(document).ready(function() { mkws_html_all( { mkws_switch: false }); }); */
 $(document).ready(function() { mkws_service_proxy_auth(); });