芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/ixilyucatan.gob.mx/media/com_config/js/config-filters.min.js
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)));