projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check switch menu Records/Targets
[mkws-moved-to-github.git]
/
tools
/
htdocs
/
mkws.js
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
fc4528f
..
0414414
100644
(file)
--- 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");
function mkws_html_switch(config) {
debug("HTML switch");
- $("#mkwsSwitch").html($("<a/>", {
- href: "javascript:mkws.switchView('records')",
- text: M("Records")
- }));
+ $("#mkwsSwitch").append($('<a href="#" id="mkwsSwitch_records" onclick="mkws.switchView(\'records\')">' + M("Records") + '</a>'));
$("#mkwsSwitch").append($("<span/>", { text: " | " }));
$("#mkwsSwitch").append($("<span/>", { text: " | " }));
- $("#mkwsSwitch").append($("<a/>", {
- href: "javascript:mkws.switchView('targets')",
- text: M("Targets")
- }));
+ $("#mkwsSwitch").append($('<a href="#" id="mkwsSwitch_targets" onclick="mkws.switchView(\'targets\')">' + M("Targets") + '</a>'));
debug("HTML targets");
$("#mkwsTargets").html('\
debug("HTML targets");
$("#mkwsTargets").html('\