Check for whether "torusquery" can be used is against whether MKWS has
authorMike Taylor <mike@indexdata.com>
Fri, 8 Aug 2014 11:03:14 +0000 (12:03 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 8 Aug 2014 11:03:14 +0000 (12:03 +0100)
authenticated (onto a Service Proxy) rather than whether the Service
Proxy is intended to be used.

src/mkws-team.js

index a2dd506..9abed73 100644 (file)
@@ -293,7 +293,7 @@ function team($, teamName) {
     if (maxrecs) params.maxrecs = maxrecs;
     if (torusquery) {
       if (!mkws.config.use_service_proxy)
-        alert("can't narrow search by torusquery when Service Proxy is not in use");
+        alert("can't narrow search by torusquery when not authenticated");
       params.torusquery = torusquery;
     }