projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0c5577a
)
Eliminate config parameter altogether from mkws_html_perpage()
author
Mike Taylor
<mike@indexdata.com>
Fri, 11 Oct 2013 16:09:52 +0000
(17:09 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 11 Oct 2013 16:09:52 +0000
(17:09 +0100)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
6695373
..
62b38cf
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-655,7
+655,7
@@
function mkws_html_all() {
$("#mkwsRanking").html(ranking_data);
}
$("#mkwsRanking").html(ranking_data);
}
- mkws_html_switch(mkws_config);
+ mkws_html_switch();
if (mkws_config.use_service_proxy)
mkws_service_proxy_auth(mkws_config.service_proxy_auth);
if (mkws_config.use_service_proxy)
mkws_service_proxy_auth(mkws_config.service_proxy_auth);
@@
-693,7
+693,7
@@
function mkws_set_lang() {
return mkws_config.lang;
}
return mkws_config.lang;
}
-function mkws_html_switch(config) {
+function mkws_html_switch() {
debug("HTML switch");
$("#mkwsSwitch").append($('<a href="#" id="mkwsSwitch_records" onclick="mkws.switchView(\'records\')">' + M('Records') + '</a>'));
debug("HTML switch");
$("#mkwsSwitch").append($('<a href="#" id="mkwsSwitch_records" onclick="mkws.switchView(\'records\')">' + M('Records') + '</a>'));