CoreFiles by mySites.guru
config-filters.min.js1 lines, 636 bytes, from Joomla_4.0.3-Stable-Full_Package.zip
Raw History Compare with 4.0.2
md5
8b334fefb8a5b0605f007b916950cd44
sha1
d3caf024b36d9003d3bedc1fe8b7c05efc335c4e
sha256
91e83ca89d0afd5c099f80376f99fb682b77f7c071c2f1a10d4d075889ed5909
const recursiveApplyChanges=e=>{[].slice.call(document.querySelectorAll(`#filter-config select[data-parent="${e}"]`)).map((e=>(recursiveApplyChanges(e.dataset.id),e.value="NONE",e)))},applyChanges=e=>{const l=e.currentTarget;if("NONE"===l.options[l.selectedIndex].value){const e=[].slice.call(document.querySelectorAll(`#filter-config select[data-parent="${l.dataset.id}"]`));e.length&&window.confirm(Joomla.Text._("COM_CONFIG_TEXT_FILTERS_NOTE"))&&e.map((e=>(recursiveApplyChanges(e.dataset.id),e.value="NONE",e)))}};[].slice.call(document.querySelectorAll("#filter-config select")).map((e=>e.addEventListener("change",applyChanges)));

The same content is in 104 releases, Joomla 4.0.0-rc3 to 5.0.0. See them all, or every version of this file.