芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/dzilamdebravo1821.gob.mx/media/com_contact/js/contacts-list.js
/** * @copyright (C) 2020 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt */ (document => { const onClick = () => { const form = document.getElementById('adminForm'); document.getElementById('filter-search').value = ''; form.submit(); }; const onBoot = () => { const form = document.getElementById('adminForm'); const element = form.querySelector('button[type="reset"]'); if (element) { element.addEventListener('click', onClick); } document.removeEventListener('DOMContentLoaded', onBoot); }; document.addEventListener('DOMContentLoaded', onBoot); })(document);