From: Wolfram Schneider Date: Wed, 18 Dec 2013 15:38:33 +0000 (+0000) Subject: check mkws.authenticated only for SP config, MKWS-82 X-Git-Tag: 0.9.1~31 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=ea2128e0b27d5832ed2c6b85f046fcb1b3e603ff check mkws.authenticated only for SP config, MKWS-82 --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 658f849..10a3915 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -422,7 +422,7 @@ function onFormSubmitEventHandler() function newSearch(query, sort, targets) { - if (!mkws.authenticated) { + if (mkws_config.use_service_proxy && !mkws.authenticated) { alert("searching before authentication"); return; }