projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
139d7f6
)
Facet value is directly included in action, rather than having it refer obliquely...
author
Mike Taylor
<mike@indexdata.com>
Tue, 10 Jun 2014 14:31:12 +0000
(15:31 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 10 Jun 2014 14:31:12 +0000
(15:31 +0100)
src/mkws-widget-termlists.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-termlists.js
b/src/mkws-widget-termlists.js
index
715eff2
..
cb07b28
100644
(file)
--- 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('<div class="mkwsTerm">',