芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.9/com_fields/js/admin-fields-modal-es5.js
(function () { 'use strict'; /** * @copyright (C) 2018 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt */ (function (Joomla) { if (!window.parent.Joomla) { throw new Error('core.js was not properly initialised'); } if (!Joomla) { window.Joomla = {}; } Joomla.fieldIns = function (id, editor) { window.parent.Joomla.editors.instances[editor].replaceSelection("{field " + id + "}"); if (window.parent.Joomla.Modal) { window.parent.Joomla.Modal.getCurrent().close(); } }; Joomla.fieldgroupIns = function (id, editor) { window.parent.Joomla.editors.instances[editor].replaceSelection("{fieldgroup " + id + "}"); if (window.parent.Joomla.Modal) { window.parent.Joomla.Modal.getCurrent().close(); } }; })(Joomla); }());