[ 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 (document => { 6 7 const onClick = () => { 8 const form = document.getElementById('adminForm'); 9 document.getElementById('filter-search').value = ''; 10 form.submit(); 11 }; 12 13 const onBoot = () => { 14 const form = document.getElementById('adminForm'); 15 const element = form.querySelector('button[type="reset"]'); 16 17 if (element) { 18 element.addEventListener('click', onClick); 19 } 20 21 document.removeEventListener('DOMContentLoaded', onBoot); 22 }; 23 24 document.addEventListener('DOMContentLoaded', onBoot); 25 })(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 |