[ 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 // We need to use JS to move the modal before the closing body tag to avoid stacking issues 6 const multilangueModal = document.getElementById('multiLangModal'); 7 8 if (multilangueModal) { 9 const bsModal = bootstrap.Modal.getInstance(multilangueModal); 10 11 if (bsModal) { 12 bsModal.dispose(); 13 } // Append the modal before closing body tag 14 15 16 document.body.appendChild(multilangueModal); // Modal was moved so it needs to be re initialised 17 18 Joomla.initialiseModal(multilangueModal); 19 }
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 |