diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-12-18 23:18:47 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-12-18 23:18:47 +0100 |
commit | 0e1eb02c1a6d596bd1e620b9c9bb13e6c125f5cb (patch) | |
tree | fef88b7581e8e3f2b41f739137ad42859e67915c /static/input_list.js | |
parent | Add convert entry-point. (diff) | |
download | calp-0e1eb02c1a6d596bd1e620b9c9bb13e6c125f5cb.tar.gz calp-0e1eb02c1a6d596bd1e620b9c9bb13e6c125f5cb.tar.xz |
Start work on jcal system.
Diffstat (limited to 'static/input_list.js')
-rw-r--r-- | static/input_list.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/static/input_list.js b/static/input_list.js index 9397e6ee..4430154a 100644 --- a/static/input_list.js +++ b/static/input_list.js @@ -75,7 +75,7 @@ function init_input_list() { if (lst.dataset.bindby) { lst.get_value = lst.dataset.bindby; } else if (lst.dataset.joinby) { - lst.get_value = get_value(lst.dataset.joinby); + lst.get_value = get_get_value(lst.dataset.joinby); } else { lst.get_value = get_get_value(); } @@ -101,8 +101,8 @@ function init_input_list() { const get_get_value = (join=',') => function () { return [...this.querySelectorAll('input')] .map(x => x.value) - .filter(x => x != '') - .join(join); + .filter(x => x != ''); + // .join(join); } /* -------------------------------------------------- */ |