Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
[mkws-moved-to-github.git] / src / mkws-widget-facets.js
index ce47068..520faca 100644 (file)
@@ -1,4 +1,4 @@
-mkws.registerWidgetType('termlists', function() {
+mkws.registerWidgetType('facets', function() {
   // Initially hide the facets; display when we get results
   var that = this;
   var team = this.team;
@@ -64,9 +64,9 @@ mkws.registerWidgetType('facet', function() {
     } else {
       template = team.loadTemplate("facet-" + name);
       if (template) {
-        that.log("Using facet-" + name + " template.")
+        that.info("Using facet-" + name + " template.")
       } else {
-        that.log("No " + name + " specific template, using default.")
+        that.info("No " + name + " specific template, using default.")
         template = team.loadTemplate("facet");
       }
     }