芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/chocholayucatan.gob.mx/media/com_menus/js/admin-item-modal.js
/** * @copyright (C) 2018 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt */ Joomla = window.Joomla || {}; (Joomla => { Joomla.setMenuType = (type, tmpl) => { if (tmpl !== '') { window.parent.Joomla.submitbutton('item.setType', type); window.parent.Joomla.Modal.getCurrent().close(); } else { window.location = `index.php?option=com_menus&view=item&task=item.setType&layout=edit&type=${type}`; } }; })(Joomla);