芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.6/com_menus/js/admin-item-modal-es5.js
(function () { 'use strict'; /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ Joomla = window.Joomla || {}; (function (Joomla) { Joomla.setMenuType = function (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); }());