CoreFiles by mySites.guru
finder-edit.min.js1 lines, 1,181 bytes, from Joomla_4.3.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.3.0-beta1
md5
efd79c98e5218ead8212b2859f62d6c2
sha1
8136efad79e2e979f422e821abbbddc2486a0a90
sha256
59326feee97926d6f15d6dfedfdc5f424bcdfc5bcf2229268189b7a32651b577
Joomla=window.Joomla||{},document.addEventListener("DOMContentLoaded",(()=>{[].slice.call(document.querySelectorAll(".filter-toggle-all")).forEach((e=>{e.addEventListener("click",(()=>{[].slice.call(document.querySelectorAll(".filter-node")).forEach((e=>{e.click()}))}))})),[].slice.call(document.querySelectorAll(".filter-node")).forEach((()=>{const e=document.getElementById("jform_map_count");e&&(e.value=document.querySelectorAll('input[type="checkbox"]:checked').length)})),Array.from(document.querySelectorAll(".js-filter")).forEach((e=>{e.addEventListener("click",(e=>{const t=e.currentTarget;Array.from(document.querySelectorAll(`.${t.dataset.id}`)).map((e=>e.click()))}))}));const e=document.getElementById("expandAccordion");e&&e.addEventListener("click",(e=>{let 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((e=>{e.click()}))}))}));

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