芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/chocholayucatan.gob.mx/media/com_finder/js/finder-edit-es5.min.js
!function(){"use strict";Joomla=window.Joomla||{},document.addEventListener("DOMContentLoaded",(function(){[].slice.call(document.querySelectorAll(".filter-toggle-all")).forEach((function(e){e.addEventListener("click",(function(){[].slice.call(document.querySelectorAll(".filter-node")).forEach((function(e){e.click()}))}))})),[].slice.call(document.querySelectorAll(".filter-node")).forEach((function(){var e=document.getElementById("jform_map_count");e&&(e.value=document.querySelectorAll('input[type="checkbox"]:checked').length)})),Array.from(document.querySelectorAll(".js-filter")).forEach((function(e){e.addEventListener("click",(function(e){var t=e.currentTarget;Array.from(document.querySelectorAll("."+t.dataset.id)).map((function(e){return e.click()}))}))}));var e=document.getElementById("expandAccordion");e&&e.addEventListener("click",(function(e){var t;e.preventDefault(),e.target.innerText===Joomla.Text._("COM_FINDER_FILTER_SHOW_ALL")?(e.target.innerText=Joomla.Text._("COM_FINDER_FILTER_HIDE_ALL"),t=[].slice.call(document.querySelectorAll(".accordion-button.collapsed"))):(e.target.innerText=Joomla.Text._("COM_FINDER_FILTER_SHOW_ALL"),t=[].slice.call(document.querySelectorAll(".accordion-button:not(.collapsed)"))),t&&t.forEach((function(e){e.click()}))}))}))}();