From 041d44e48305f5173bb7bfde2c6faaefdf0917ce Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 8 Aug 2014 12:02:46 +0100 Subject: [PATCH] Check is against whether MKWS has authenticated (onto a Service Proxy) rather than whether the Service Proxy is intended to be used. --- src/mkws-widget-categories.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mkws-widget-categories.js b/src/mkws-widget-categories.js index a11e522..339e28b 100644 --- a/src/mkws-widget-categories.js +++ b/src/mkws-widget-categories.js @@ -1,8 +1,8 @@ mkws.registerWidgetType('Categories', function() { var that = this; - if (!this.config.use_service_proxy) { - alert("can't use categories widget without Service Proxy"); + if (!mkws.authenticated) { + alert("can't use categories widget when not authenticated"); return; } -- 1.7.10.4