CoreFiles by mySites.guru
admin-cache-default.js23 lines, 726 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
32485a91b04d404044602983d36bebda
sha1
65fb82b428bfa678e7af0cefe688979b73063411
sha256
ea5c7f6a9cca415e5471b8578b83f7e9cc49ea8f3ccb09bb26b4c97f9c7892c9
/**
* 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 - 2020 Open Source Matters, Inc. All rights reserved.
 * @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 5 releases, Joomla 4.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.