CoreFiles by mySites.guru
admin-cache-default.js22 lines, 685 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
8ad3855bc447c5dbf0dbe5e9783ede22
sha1
bcf03f90c13489cef325c77e3bceb1cfad5dfa4a
sha256
82dd62b9226df7ad05b5af8438e750e14795f869a5b42119237ad8f0649cd1b7
/**
* 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
 */
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 (event) {
        Joomla.isChecked(event.currentTarget.checked);
      });
    });
  });
})(document, Joomla);

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