CoreFiles by mySites.guru
templates-default.min.js4 lines, 519 bytes, from Joomla_6.1.2-Stable-Full_Package.zip
Raw History Compare with 6.1.1
md5
8e4ec91000d2b15813c7e76bdd751507
sha1
18b6a7e1df39ebbab96a511f906a174fcbad3f4e
sha256
441f95d1c384f2443f1445dbf06be4f9d5426684f8274340e4f7ee17d3e8e1c2
/**
 * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */((a,n)=>{const r="data-submit-task",s=(e,t)=>{(e==="templates.cancel"||a.formvalidator.isValid(t))&&n(e,t)},o=()=>{a.querySelectorAll(`[${r}]`).forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();const c=t.currentTarget.getAttribute(r);s(c,t.currentTarget.form)})})};a.addEventListener("DOMContentLoaded",()=>{o()})})(document,Joomla.submitform);

The same content is in 135 releases, Joomla 5.1.0-beta2 to 6.3.0-alpha1. See them all, or every version of this file.