primo commit
This commit is contained in:
4
media/plg_installer_folderinstaller/js/folderinstaller.min.js
vendored
Normal file
4
media/plg_installer_folderinstaller/js/folderinstaller.min.js
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* @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);
|
||||
Reference in New Issue
Block a user