Difference between revisions of "Widget:DCTList"
From LINKS Community Center
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 13:02, 5 June 2023
Current version of the DCT List.
Not ready for production!