CoreFiles by mySites.guru
admin-cache-default.js18 lines, 522 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
1a04f30e6a78b5d6174c60e5546aaa57
sha1
5aed3faadd1c328fe75ed97adb796cf0a261059b
sha256
0d5df292bc33d994775d3ca6982d4ee54c58a0242c9e5f50f6868dca03e7a00e
/**
 * @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 || {};
((document, Joomla) => {

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

The same content is in 79 releases, Joomla 4.3.0-alpha1 to 5.1.0-beta1. See them all, or every version of this file.