From: Mike Taylor Date: Wed, 3 Jun 2015 16:26:18 +0000 (+0100) Subject: Part of ACREP-35, and surely the last part? X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=59ef764d480f4538cea02f7adcc6edd57a203791 Part of ACREP-35, and surely the last part? 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. --- diff --git a/src/mkws-widget-categories.js b/src/mkws-widget-categories.js index 8b2b00f..b9004c9 100644 --- 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;