Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 662: | Line 662: | ||
if (encoded) { | if (encoded) { | ||
const | const actions = JSON.parse(decodeURIComponent(atob(encoded))); | ||
const filter = | const filter = actions.filter; | ||
if (filter) { | if (filter) { | ||
// Functions filter | // Functions filter | ||
const functions = filter.functions; | const functions = filter.functions; | ||
if (functions) { | if (functions) { | ||
Object.keys(functions).forEach( | Object.keys(functions).forEach(subfun => { | ||
document.getElementById(' | document.getElementById('subfunc-filter-' + escapeAttr(subfun)).checked = !!functions[subfun]; | ||
}); | }); | ||
Revision as of 12:02, 5 June 2023
Current version of the DCT List.
Not ready for production!