CoreFiles by mySites.guru
admin-fields-default-batch-es5.js21 lines, 725 bytes, from Joomla_4.3.2-Stable-Full_Package.zip
Raw History Compare with 4.3.1
md5
0bdf7a493b0b10d29661aa6785035014
sha1
1c5dd67aad60b9fcf09e5e36087e743ed2349da3
sha256
6df25d4a7a014927dc387cf77d248d11d3bae3eb2c7a0e06348513ecd7bf80af
(function () {
  'use strict';

  /**
   * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
   * @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);
  });

})();

The same content is in 102 releases, Joomla 4.0.6-rc1 to 5.0.0-alpha1. See them all, or every version of this file.