[ 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 => { 6 7 if (!Joomla) { 8 window.Joomla = {}; 9 } 10 11 const onBoot = () => { 12 Joomla.submitbutton = pressbutton => { 13 if (pressbutton === 'filters.delete' && !window.confirm(Joomla.Text._('COM_FINDER_INDEX_CONFIRM_DELETE_PROMPT'))) { 14 return false; 15 } 16 17 Joomla.submitform(pressbutton); 18 return true; 19 }; // Cleanup 20 21 22 document.addEventListener('DOMContentLoaded', onBoot); 23 }; 24 25 document.addEventListener('DOMContentLoaded', onBoot); 26 })(Joomla);
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 |