mkws_switch -> switch
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 20 Jun 2013 13:34:55 +0000 (13:34 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 20 Jun 2013 13:34:55 +0000 (13:34 +0000)
experiments/spclient/index.html
experiments/spclient/mkws.js

index 4f85dae..7b26d30 100644 (file)
@@ -9,7 +9,7 @@
     <link rel="stylesheet" href="mkwsStyle.css" />
     <script type="text/javascript">
        var mkws_config = { 
-               mkws_switch: false, 
+               switch: false, 
                sort_default: "date:0",
                perpage_default: 50
         }; 
index 21cd04b..7e87e96 100644 (file)
@@ -384,7 +384,7 @@ function mkws_html_all(data) {
        sort_default: "relevance",
        perpage_default: 20,
        query_width: 50,
-       mkws_switch: true, /* show/hide Records|Targets menu */
+       switch: true, /* show/hide Records|Targets menu */
 
        dummy: "dummy"
     };
@@ -449,7 +449,7 @@ function mkws_html_switch(config) {
        text: "Targets"
     }));
 
-    if (!config.mkws_switch) {
+    if (!config.switch) {
         $("#mkwsSwitch").css("display", "none");
     }
 }