primo commit
This commit is contained in:
4
media/com_content/js/form-edit.min.js
vendored
Normal file
4
media/com_content/js/form-edit.min.js
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/((e,r)=>{const o="data-submit-task",n="adminForm",i=a=>{const t=e.getElementById(n);(a==="article.cancel"||e.formvalidator.isValid(t))&&r(a,t)};e.addEventListener("DOMContentLoaded",()=>{e.querySelectorAll(`[${o}]`).forEach(a=>{a.addEventListener("click",t=>{t.preventDefault();const s=t.target.getAttribute(o);i(s)})})})})(document,Joomla.submitform);
|
||||
Reference in New Issue
Block a user