X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-widget-termlists.js;h=e8cab105c6a4f9c6aa2e5cf54c49f4ef2565fde3;hb=8d1d4b22649401af52cfc1f1ba65d9627a149b15;hp=2e684f660564b32002c86b07ca7d8bd4983cfa02;hpb=03aa531c961b56b06bcc2e2b94ccb47cdb86e7e4;p=mkws-moved-to-github.git 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"); } }