芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.5/plg_installer_urlinstaller/js/urlinstaller.js
/** * @copyright (C) 2020 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt */ Joomla = window.Joomla || {}; (Joomla => { document.addEventListener('DOMContentLoaded', () => { Joomla.submitbuttonurl = () => { const form = document.getElementById('adminForm'); const loading = document.getElementById('loading'); if (loading) { loading.classList.remove('hidden'); } form.installtype.value = 'url'; form.submit(); }; }); })(Joomla);