Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 792: Line 792:
                 applyFilters();
                 applyFilters();
             }, { passive: true });
             }, { passive: true });
             document.getElementById('dm-use-filter').addEventListener('change', event => {
             // document.getElementById('dm-use-filter').addEventListener('change', event => {
                // hack to check "Yes" as well when "Yes with Use Case" is selected
            //    // hack to check "Yes" as well when "Yes with Use Case" is selected
                if (event.target.id == "dm-use-filter-Yes-with-Use-Case" && event.target.checked) {
            //    if (event.target.id == "dm-use-filter-Yes-with-Use-Case" && event.target.checked) {
                    document.getElementById('dm-use-filter-Yes').checked = true
            //        document.getElementById('dm-use-filter-Yes').checked = true
                }
            //    }


                applyFilters();
            //    applyFilters();
             }, { passive: true });
             // }, { passive: true });
             document.getElementById('bool-filters').addEventListener('change', event => {
             document.getElementById('bool-filters').addEventListener('change', event => {
                 applyFilters();
                 applyFilters();

Revision as of 16:39, 7 December 2022

Current version of the DCT List.
Not ready for production!