first commit

This commit is contained in:
2025-06-17 11:53:18 +02:00
commit 9f0f7ba12b
8804 changed files with 1369176 additions and 0 deletions

View File

@ -0,0 +1,28 @@
/**
* @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 || {};
(Joomla => {
document.addEventListener('DOMContentLoaded', () => {
Joomla.submitbuttonfolder = () => {
const form = document.getElementById('adminForm');
// do field validation
if (form.install_directory.value === '') {
Joomla.renderMessages({
warning: [Joomla.Text._('PLG_INSTALLER_FOLDERINSTALLER_NO_INSTALL_PATH')]
});
} else {
const loading = document.getElementById('loading');
if (loading) {
loading.classList.remove('hidden');
}
form.installtype.value = 'folder';
form.submit();
}
};
});
})(Joomla);

View File

@ -0,0 +1 @@
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 e=document.getElementById("loading");e&&e.classList.remove("hidden"),t.installtype.value="folder",t.submit()}}}))})(Joomla);