[ 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 (!window.parent.Joomla) { 8 throw new Error('core.js was not properly initialised'); 9 } 10 11 if (!Joomla) { 12 window.Joomla = {}; 13 } 14 15 Joomla.fieldIns = (id, editor) => { 16 window.parent.Joomla.editors.instances[editor].replaceSelection(`{field $id}}`); 17 18 if (window.parent.Joomla.Modal) { 19 window.parent.Joomla.Modal.getCurrent().close(); 20 } 21 }; 22 23 Joomla.fieldgroupIns = (id, editor) => { 24 window.parent.Joomla.editors.instances[editor].replaceSelection(`{fieldgroup $id}}`); 25 26 if (window.parent.Joomla.Modal) { 27 window.parent.Joomla.Modal.getCurrent().close(); 28 } 29 }; 30 })(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 |