CoreFiles by mySites.guru
admin-item-edit_container.min.js4 lines, 633 bytes, from Joomla_5.0.2-Stable-Full_Package.zip
Raw History Compare with 5.0.1
md5
1f917f67a2dc4302e6c871720922d685
sha1
364c2a3bf6eb0ea1c0a571746ec5fa8a4ee60700
sha256
e5c0a8572437031ad5770f89692e40d3f9a18bfd144b83d762787bc4f3df2a8f
/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */(c=>{const s=e=>e.checked,o=e=>e.querySelectorAll('input[type="checkbox"]'),n=e=>e.parentElement.nextElementSibling,l=e=>{e.checked=!0},i=e=>{e.checked=!1},r=e=>e.setAttribute("disabled","disabled"),d=e=>e.removeAttribute("disabled"),a=(e,t)=>{if(t===!0){r(e),l(e);return}d(e),i(e)},h=({target:e})=>{const t=n(e),u=s(e);t&&o(t).map(b=>a(b,u))};[].slice.call(c.querySelectorAll('.treeselect input[type="checkbox"]')).forEach(e=>{e.addEventListener("click",h)})})(document);

The same content is in 41 releases, Joomla 4.4.1-rc1 to 5.1.0-beta1. See them all, or every version of this file.