CoreFiles by mySites.guru
finder-edit.min.js4 lines, 1,221 bytes, from Joomla_6.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 6.2.0-beta1
md5
ad6ab586869f6b982809f88e08886b19
sha1
e6bf3b9e80a38b1d4244e42610a3d40cd0011b30
sha256
4a85e137f1634fd59eca548cdcefd9d3f8ea7ddd4aeb90578be609cf1fe43a91
/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */Joomla=window.Joomla||{},document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".filter-toggle-all").forEach(e=>{e.addEventListener("click",()=>document.querySelectorAll(".filter-node").forEach(t=>t.click()))}),document.querySelectorAll(".filter-node").forEach(()=>{const e=document.getElementById("jform_map_count");e&&(e.value=document.querySelectorAll('input[type="checkbox"]:checked').length)}),document.querySelectorAll(".js-filter").forEach(e=>{e.addEventListener("click",t=>{const o=t.currentTarget;document.querySelectorAll(`.${o.dataset.id}`).forEach(l=>l.click())})});const c=document.getElementById("expandAccordion");c&&c.addEventListener("click",e=>{e.preventDefault();let t;e.target.innerText===Joomla.Text._("COM_FINDER_FILTER_SHOW_ALL")?(e.target.innerText=Joomla.Text._("COM_FINDER_FILTER_HIDE_ALL"),t=document.querySelectorAll(".accordion-button.collapsed")):(e.target.innerText=Joomla.Text._("COM_FINDER_FILTER_SHOW_ALL"),t=document.querySelectorAll(".accordion-button:not(.collapsed)")),t&&t.forEach(o=>o.click())})});

The same content is in 135 releases, Joomla 5.1.0-beta2 to 6.3.0-alpha1. See them all, or every version of this file.