CoreFiles by mySites.guru
admin-cache-default.js23 lines, 713 bytes, from Joomla_4.0.0-beta7-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta6
md5
27af72f08a98176522b3666079df7480
sha1
8c51635344ee1bf4ccc2f8e243a4fcca79b20326
sha256
a396b93160433fa4a50b2cd74e69bee700140f697d141c0ff34cd9ce286ff64e
/**
* PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION.
* OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD.
**/

/**
 * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
Joomla = window.Joomla || {};

(function (document, Joomla) {
  'use strict';

  document.addEventListener('DOMContentLoaded', function () {
    [].slice.call(document.querySelectorAll('.cache-entry')).forEach(function (el) {
      el.addEventListener('click', function (_ref) {
        var currentTarget = _ref.currentTarget;
        Joomla.isChecked(currentTarget.checked);
      });
    });
  });
})(document, Joomla);

The same content is in 2 releases, Joomla 4.0.0-beta6 to 4.0.0-beta7. See them all, or every version of this file.