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 (from parent 1:
eb8b66d
)
set mkws.usesessions later after the config object was checked.
author
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 12 Dec 2013 15:22:29 +0000
(15:22 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 12 Dec 2013 15:22:29 +0000
(15:22 +0000)
This is a side effect of
d7fa203c58fd4eb63c6fc1eeeb3ffa94ef32dbb4
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
8ca0040
..
a14a0cc
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-22,9
+22,6
@@
if (!mkws_config)
// Wrapper for jQuery
(function ($) {
// Wrapper for jQuery
(function ($) {
-mkws.pazpar2path = mkws_config.pazpar2_url || "http://mkws.indexdata.com/service-proxy/";
-mkws.usesessions = mkws_config.use_service_proxy ? false : true;
-
mkws.locale_lang = {
"de": {
"Authors": "Autoren",
mkws.locale_lang = {
"de": {
"Authors": "Autoren",
@@
-199,6
+196,9
@@
Handlebars.registerHelper('commaList', function(items, options) {
mkws.sort = mkws_config.sort_default;
debug("copied mkws_config.sort_default '" + mkws_config.sort_default + "' to mkws.sort");
mkws.sort = mkws_config.sort_default;
debug("copied mkws_config.sort_default '" + mkws_config.sort_default + "' to mkws.sort");
+mkws.pazpar2path = mkws_config.pazpar2_url || "http://mkws.indexdata.com/service-proxy/";
+mkws.usesessions = mkws_config.use_service_proxy ? false : true;
+
if (mkws_config.query_width < 5 || mkws_config.query_width > 150) {
debug("Reset query width: " + mkws_config.query_width);
mkws_config.query_width = 50;
if (mkws_config.query_width < 5 || mkws_config.query_width > 150) {
debug("Reset query width: " + mkws_config.query_width);
mkws_config.query_width = 50;