芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.9/com_fields/js/admin-fields-default-batch-es5.js
(function () { 'use strict'; /** * @copyright (C) 2018 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt */ document.addEventListener('DOMContentLoaded', function () { var batchSelector = document.getElementById('batch-group-id'); var batchCopyMove = document.getElementById('batch-copy-move'); batchCopyMove.classList.add('hidden'); batchSelector.addEventListener('change', function () { if (batchSelector.value === 'nogroup' || batchSelector.value !== '') { batchCopyMove.classList.remove('hidden'); } else { batchCopyMove.classList.add('hidden'); } }, false); }); }());