From: Mike Taylor Date: Tue, 10 Jun 2014 14:31:12 +0000 (+0100) Subject: Facet value is directly included in action, rather than having it refer obliquely... X-Git-Tag: 1.0.0~502 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=6ddd7a09581894d0b3cf07973fc69006fc4c10e8 Facet value is directly included in action, rather than having it refer obliquely to this.firstChild.nodeValue. --- diff --git a/src/mkws-widget-termlists.js b/src/mkws-widget-termlists.js index 715eff2..cb07b28 100644 --- a/src/mkws-widget-termlists.js +++ b/src/mkws-widget-termlists.js @@ -58,7 +58,7 @@ mkws.registerWidgetType('Facet', function() { var action = ''; if (fn) { - action = 'mkws.' + fn + '(\'' + teamName + '\', \'' + datum + '\', this.firstChild.nodeValue)'; + action = 'mkws.' + fn + '(\'' + teamName + '\', \'' + datum + '\', \'' + data[i].name + '\')'; } acc.push('
',