Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 774: | Line 774: | ||
if (action.filter) { | if (action.filter) { | ||
Object.keys(action.filter).forEach(fnCat => { | Object.keys(action.filter).forEach(fnCat => { | ||
console.log('func-filter-' + escapeAttr(fnCat)) | |||
const fnBlock = document.getElementById('func-filter-' + escapeAttr(fnCat)).closest('.func-filter-block'); | const fnBlock = document.getElementById('func-filter-' + escapeAttr(fnCat)).closest('.func-filter-block'); | ||
fnBlock.querySelectorAll('input[type="checkbox"]').forEach(box => box.checked = actions.filter[fnCat]); | fnBlock.querySelectorAll('input[type="checkbox"]').forEach(box => box.checked = actions.filter[fnCat]); |
Revision as of 14:08, 24 November 2022
Development verstion of the DCT List.
Not ready for production!