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
(parent:
ceebf73
)
Check is against whether MKWS has authenticated (onto a Service Proxy)
author
Mike Taylor
<mike@indexdata.com>
Fri, 8 Aug 2014 11:02:46 +0000
(12:02 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 8 Aug 2014 11:02:46 +0000
(12:02 +0100)
rather than whether the Service Proxy is intended to be used.
src/mkws-widget-categories.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-categories.js
b/src/mkws-widget-categories.js
index
a11e522
..
339e28b
100644
(file)
--- 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;
}