[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 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)));
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |