[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 /** 2 * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> 3 * @license GNU General Public License version 2 or later; see LICENSE.txt 4 */ 5 ((Joomla, document) => { 6 7 document.addEventListener('DOMContentLoaded', () => { 8 const btn = document.getElementById('btn-login-submit'); 9 10 if (btn) { 11 btn.addEventListener('click', event => { 12 event.preventDefault(); 13 14 if (document.formvalidator.isValid(btn.form)) { 15 Joomla.submitbutton('login'); 16 } 17 }); 18 } 19 }); 20 })(window.Joomla, document);
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |