[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 (function () { 2 'use strict'; 3 4 /** 5 * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> 6 * @license GNU General Public License version 2 or later; see LICENSE.txt 7 */ 8 Joomla.submitbutton = function (task) { 9 if (task === 'actionlogs.exportLogs') { 10 Joomla.submitform(task, document.getElementById('exportForm')); 11 return; 12 } 13 14 if (task === 'actionlogs.exportSelectedLogs') { 15 // Get id of selected action logs item and pass it to export form hidden input 16 var cids = []; 17 var elements = [].slice.call(document.querySelectorAll("input[name='cid[]']:checked")); 18 19 if (elements.length) { 20 elements.forEach(function (element) { 21 cids.push(element.value); 22 }); 23 } 24 25 document.exportForm.cids.value = cids.join(','); 26 Joomla.submitform(task, document.getElementById('exportForm')); 27 return; 28 } 29 30 Joomla.submitform(task); 31 }; 32 33 })();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |