[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/com_fields/js/ -> admin-fields-default-batch-es5.js (source)

   1  (function () {
   2    'use strict';
   3  
   4    /**
   5     * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
   6     * @license    GNU General Public License version 2 or later; see LICENSE.txt
   7     */
   8    document.addEventListener('DOMContentLoaded', function () {
   9      var batchSelector = document.getElementById('batch-group-id');
  10      var batchCopyMove = document.getElementById('batch-copy-move');
  11      batchCopyMove.classList.add('hidden');
  12      batchSelector.addEventListener('change', function () {
  13        if (batchSelector.value === 'nogroup' || batchSelector.value !== '') {
  14          batchCopyMove.classList.remove('hidden');
  15        } else {
  16          batchCopyMove.classList.add('hidden');
  17        }
  18      }, false);
  19    });
  20  
  21  })();


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer