芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/dzilamdebravo1821.gob.mx/media/com_menus/js/admin-menus-default-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 (Joomla.getOptions('menus-default')) { // eslint-disable-next-line prefer-destructuring var items = Joomla.getOptions('menus-default').items; items.forEach(function (item) { window["jSelectPosition_" + item] = function (name) { document.getElementById(item).value = name; Joomla.Modal.getCurrent().close(); }; }); } Array.from(document.querySelectorAll('.modal')).forEach(function (modalEl) { modalEl.addEventListener('hidden.bs.modal', function () { setTimeout(function () { window.parent.location.reload(); }, 1000); }); }); })(Joomla); (function (originalFn) { Joomla.submitform = function (task, form) { originalFn(task, form); if (task === 'menu.exportXml') { document.adminForm.task.value = ''; } }; })(Joomla.submitform); }());