[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 (function () { 2 'use strict'; 3 4 /** 5 * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> 6 * @license GNU General Public License version 2 or later; see LICENSE.txt 7 */ 8 (function (Joomla) { 9 if (!window.parent.Joomla) { 10 throw new Error('core.js was not properly initialised'); 11 } 12 13 if (!Joomla) { 14 window.Joomla = {}; 15 } 16 17 Joomla.fieldIns = function (id, editor) { 18 window.parent.Joomla.editors.instances[editor].replaceSelection("{field " + id + "}"); 19 20 if (window.parent.Joomla.Modal) { 21 window.parent.Joomla.Modal.getCurrent().close(); 22 } 23 }; 24 25 Joomla.fieldgroupIns = function (id, editor) { 26 window.parent.Joomla.editors.instances[editor].replaceSelection("{fieldgroup " + id + "}"); 27 28 if (window.parent.Joomla.Modal) { 29 window.parent.Joomla.Modal.getCurrent().close(); 30 } 31 }; 32 })(Joomla); 33 34 })();
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 |