[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 /** 2 * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> 3 * @license GNU General Public License version 2 or later; see LICENSE.txt 4 */ 5 (document => { 6 const batchMenu = document.getElementById('batch-menu-id'); 7 const batchCopyMove = document.getElementById('batch-copy-move'); 8 let batchSelector; 9 10 const onChange = () => { 11 if (batchSelector.value !== 0 || batchSelector.value !== '') { 12 batchCopyMove.classList.remove('hidden'); 13 } else { 14 batchCopyMove.classList.add('hidden'); 15 } 16 }; 17 18 if (batchMenu) { 19 batchSelector = batchMenu; 20 } 21 22 if (batchCopyMove) { 23 batchSelector.addEventListener('change', onChange); 24 } 25 })(document);
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |