/**
 * @copyright   (C) 2020 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */Joomla=window.Joomla||{},(e=>{document.addEventListener("DOMContentLoaded",()=>{e.submitbuttonfolder=()=>{const t=document.getElementById("adminForm");if(t.install_directory.value==="")e.renderMessages({warning:[e.Text._("PLG_INSTALLER_FOLDERINSTALLER_NO_INSTALL_PATH")]});else{const n=document.getElementById("loading");n&&n.classList.remove("hidden"),t.installtype.value="folder",t.submit()}}})})(Joomla);
