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
move the config to index.html
[mkws-moved-to-github.git]
/
experiments
/
spclient
/
mkws.js
diff --git
a/experiments/spclient/mkws.js
b/experiments/spclient/mkws.js
index
5ba7692
..
d823c4a
100644
(file)
--- a/
experiments/spclient/mkws.js
+++ b/
experiments/spclient/mkws.js
@@
-388,6
+388,12
@@
function mkws_html_all(data) {
dummy: "dummy"
};
dummy: "dummy"
};
+ /* override standard config values by function parameters */
+ for (var k in data) {
+ config[k] = data[k];
+ }
+
+
$("#mkwsSwitch").html($("<a/>", {
href: '#',
onclick: "switchView(\'records\')",
$("#mkwsSwitch").html($("<a/>", {
href: '#',
onclick: "switchView(\'records\')",
@@
-468,6
+474,6
@@
function mkws_service_proxy_auth() {
});
}
});
}
-$(document).ready(function() { mkws_html_all(); });
+/* moved to index.html: $(document).ready(function() { mkws_html_all( { mkws_switch: false }); }); */
$(document).ready(function() { mkws_service_proxy_auth(); });
$(document).ready(function() { mkws_service_proxy_auth(); });