primo commit
This commit is contained in:
4
media/com_menus/js/admin-item-edit_container.min.js
vendored
Normal file
4
media/com_menus/js/admin-item-edit_container.min.js
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* @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 o=e=>e.checked,s=e=>e.querySelectorAll('input[type="checkbox"]'),n=e=>e.parentElement.nextElementSibling,r=e=>{e.checked=!0},l=e=>{e.checked=!1},i=e=>e.setAttribute("disabled","disabled"),d=e=>e.removeAttribute("disabled"),h=(e,t)=>{if(t===!0){i(e),r(e);return}d(e),l(e)},a=({target:e})=>{const t=n(e),u=o(e);t&&s(t).forEach(b=>h(b,u))};c.querySelectorAll('.treeselect input[type="checkbox"]').forEach(e=>e.addEventListener("click",a))})(document);
|
||||
Reference in New Issue
Block a user