[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/com_finder/js/ -> finder-edit-es5.min.js (source)

   1  !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()}))}))}))}();


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer