Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 776: | Line 776: | ||
console.log('func-filter-' + escapeAttr(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 = | fnBlock.querySelectorAll('input[type="checkbox"]').forEach(box => box.checked = action.filter.functions[fnCat]); | ||
}); | }); | ||
} | } |
Revision as of 14:11, 24 November 2022
Development verstion of the DCT List.
Not ready for production!