From: Jason Skomorowski Date: Wed, 22 Oct 2014 14:21:49 +0000 (-0400) Subject: Use facet name instead of caption MKWS-298 X-Git-Tag: 1.0.0~141 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=a28f2d2b6cc786098bf3e39b5f7d2a269d806309;p=mkws-moved-to-github.git Use facet name instead of caption MKWS-298 --- diff --git a/src/mkws-widget-termlists.js b/src/mkws-widget-termlists.js index 2e684f6..e8cab10 100644 --- a/src/mkws-widget-termlists.js +++ b/src/mkws-widget-termlists.js @@ -62,11 +62,11 @@ mkws.registerWidgetType('facet', function() { if (that.config.template) { template = team.loadTemplate(that.config.template); } else { - template = team.loadTemplate("Facet-" + caption); + template = team.loadTemplate("facet-" + name); if (template) { - that.log("Using Facet-" + caption + " template.") + that.log("Using facet-" + name + " template.") } else { - that.log("No " + caption + " specific template, using default.") + that.log("No " + name + " specific template, using default.") template = team.loadTemplate("Facet"); } }