primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

@ -0,0 +1,20 @@
/**
* @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
Joomla.submitbutton = task => {
if (task === 'actionlogs.exportLogs') {
Joomla.submitform(task, document.getElementById('exportForm'));
return;
}
if (task === 'actionlogs.exportSelectedLogs') {
// Get id of selected action logs item and pass it to export form hidden input
const cids = [];
document.querySelectorAll("input[name='cid[]']:checked").forEach(element => cids.push(element.value));
document.exportForm.cids.value = cids.join(',');
Joomla.submitform(task, document.getElementById('exportForm'));
return;
}
Joomla.submitform(task);
};

View File

@ -0,0 +1,4 @@
/**
* @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/Joomla.submitbutton=o=>{if(o==="actionlogs.exportLogs"){Joomla.submitform(o,document.getElementById("exportForm"));return}if(o==="actionlogs.exportSelectedLogs"){const e=[];document.querySelectorAll("input[name='cid[]']:checked").forEach(t=>e.push(t.value)),document.exportForm.cids.value=e.join(","),Joomla.submitform(o,document.getElementById("exportForm"));return}Joomla.submitform(o)};