projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MarkDown formatting about 1/3-1/2 done.
[mkws-moved-to-github.git]
/
src
/
mkws-widget-categories.js
diff --git
a/src/mkws-widget-categories.js
b/src/mkws-widget-categories.js
index
bec99f5
..
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;
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;
}
return;
}
@@
-29,7
+29,7
@@
mkws.registerWidgetType('Categories', function() {
text.push("<option value='", id, "'>", name, "</option>");
});
text.push("</select>");
text.push("<option value='", id, "'>", name, "</option>");
});
text.push("</select>");
- that.jqnode.html(text.join(''));
+ that.node.html(text.join(''));
});
});
});
});
});
});