CoreFiles by mySites.guru
admin-fields-default-batch.js23 lines, 763 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
252369e45be5f239ae94100a6a12e642
sha1
6df9243e381a76437d4726224d81bc1ed7677e4b
sha256
4b52159b17eebf760cc1c233777a8893e8843c2f23756ecf0a06f4f6221e342b
/**
* PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION.
* OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD.
**/

/**
 * @copyright  Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @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.style.display = 'none';

  batchSelector.addEventListener('change', function () {
    if (batchSelector.value === 'nogroup') {
      batchCopyMove.style.display = 'block';
    } else {
      batchCopyMove.style.display = 'none';
    }
  }, false);
});

No other release has this exact content. See every version of this file.