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:
ebf2731
)
Part of ACREP-35, and surely the last part?
author
Mike Taylor
<mike@indexdata.com>
Wed, 3 Jun 2015 16:26:18 +0000
(17:26 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 3 Jun 2015 16:26:18 +0000
(17:26 +0100)
Establish local $ as a copy of mkws.$.
This is not necessary when running using a local copy of MKWS, when $
already has that value. But for reasons that I don't understand at
all, $ is undefined when running the exact same code using a copy of
MKWS from the production server.
src/mkws-widget-categories.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-categories.js
b/src/mkws-widget-categories.js
index
8b2b00f
..
b9004c9
100644
(file)
--- a/
src/mkws-widget-categories.js
+++ b/
src/mkws-widget-categories.js
@@
-7,6
+7,7
@@
mkws.registerWidgetType('categories', function() {
});
req.get(null, function(data) {
+ var $ = mkws.$;
if (!$.isXMLDoc(data)) {
alert("categories response document is not XML");
return;