芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/chikindzonotyucatan.gob.mx/media/com_menus/js/default-batch-body.js
/** * @copyright (C) 2018 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt */ (document => { const batchMenu = document.getElementById('batch-menu-id'); const batchCopyMove = document.getElementById('batch-copy-move'); let batchSelector; const onChange = () => { if (batchSelector.value !== 0 || batchSelector.value !== '') { batchCopyMove.classList.remove('hidden'); } else { batchCopyMove.classList.add('hidden'); } }; if (batchMenu) { batchSelector = batchMenu; } if (batchCopyMove) { batchSelector.addEventListener('change', onChange); } })(document);