From 6ddd7a09581894d0b3cf07973fc69006fc4c10e8 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 10 Jun 2014 15:31:12 +0100 Subject: [PATCH] Facet value is directly included in action, rather than having it refer obliquely to this.firstChild.nodeValue. --- src/mkws-widget-termlists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('
', -- 1.7.10.4