Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 772: | Line 772: | ||
if (encoded) { | if (encoded) { | ||
const action = JSON.parse(decodeURIComponent(atob(encoded))); | const action = JSON.parse(decodeURIComponent(atob(encoded))); | ||
if (action.filter) { | if (action.filter && action.filter.functions) { | ||
Object.keys(action.filter).forEach(fnCat => { | Object.keys(action.filter.functions).forEach(fnCat => { | ||
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'); |
Revision as of 14:10, 24 November 2022
Development verstion of the DCT List.
Not ready for production!