Clean-up for MKWS-352 work.
authorMike Taylor <mike@indexdata.com>
Mon, 19 Jan 2015 12:35:33 +0000 (12:35 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 19 Jan 2015 12:35:33 +0000 (12:35 +0000)
Facets widget no longer caches id->name mapping.

src/mkws-widget-facets.js

index d2063f8..520faca 100644 (file)
@@ -56,10 +56,6 @@ mkws.registerWidgetType('facet', function() {
         count: data[i].freq,
         linkdata: linkdata
       }); 
-      
-      if (!pzIndex) {
-        team.mapTarget(data[i].id, data[i].name);
-      }
     }
     // configured template > facet specific template > default facet template
     var template;