CoreFiles by mySites.guru
admin-fields-default-batch.es6.js23 lines, 769 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
15d18e4bbafaa0f03607cfc73e8db948
sha1
3b4cd27f18d73195ba774338eca5c73438b652a6
sha256
88d6f28369b0824694d26b130a5570806a2df9bbc7f825199ba0163157a8208f
/**
* 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', () => {
  'use strict';

  const batchSelector = document.getElementById('batch-group-id');
  const batchCopyMove = document.getElementById('batch-copy-move');
  batchCopyMove.style.display = 'none';
  batchSelector.addEventListener('change', () => {
    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.