X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=0414414e39c8c1a3ac39cfe51e53fed84487db46;hb=269c237d92627904e8fc2888524c183567a7a09c;hp=fc4528f49b2b9f869e6cee0f7163a0883cd1db01;hpb=046efb22d432569f977feb6e18ed0fca2fef38dd;p=mkws-moved-to-github.git
diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js
index fc4528f..0414414 100644
--- a/tools/htdocs/mkws.js
+++ b/tools/htdocs/mkws.js
@@ -691,15 +691,9 @@ function mkws_set_lang(mkws_config) {
function mkws_html_switch(config) {
debug("HTML switch");
- $("#mkwsSwitch").html($("", {
- href: "javascript:mkws.switchView('records')",
- text: M("Records")
- }));
+ $("#mkwsSwitch").append($('' + M("Records") + ''));
$("#mkwsSwitch").append($("", { text: " | " }));
- $("#mkwsSwitch").append($("", {
- href: "javascript:mkws.switchView('targets')",
- text: M("Targets")
- }));
+ $("#mkwsSwitch").append($('' + M("Targets") + ''));
debug("HTML targets");
$("#mkwsTargets").html('\