CoreFiles by mySites.guru
admin-fields-default-batch.js21 lines, 760 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
034f1209408fd8c2f050c8835ac57081
sha1
caf1d2f34da7739787b07da1249734b43d3643ef
sha256
3e9e635250c04cc14a27e90a8bb793f61d35b893e7d78dc3b23b3e597f19285b
/**
* 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 - 2019 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);
});

The same content is in 5 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha11. See them all, or every version of this file.