CoreFiles by mySites.guru
admin-fields-default-batch.js23 lines, 777 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
1fc2d1d44b88d1f2b52cf187e4f1c04d
sha1
5447d22bdd5ca226a743654634516d5afea786a7
sha256
6672bdee4a4782a756085e4ffebdde0a6167bdb6e7ec98145a7edf04c0a5aaee
/**
* 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 () {
  'use strict';

  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.