X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=95205da35aaaead2cde0eadb580799325fb67d7b;hb=e71bfe2562b60c85a0dc54d67b7c2de2342b22cf;hp=658f8499c414c8546fde6cefc161cbf74bfa2afb;hpb=4fcef8ebfa3efd25d3d461aeffefe774f940b6a8;p=mkws-moved-to-github.git diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 658f849..95205da 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -1,5 +1,4 @@ -/* A very simple client that shows a basic usage of the pz2.js -*/ +/* MKWS, the MasterKey Widget Set. Copyright (C) 2013, Index Data */ "use strict"; // HTML5: disable for debug_level >= 2 @@ -422,7 +421,7 @@ function onFormSubmitEventHandler() function newSearch(query, sort, targets) { - if (!mkws.authenticated) { + if (mkws_config.use_service_proxy && !mkws.authenticated) { alert("searching before authentication"); return; }