__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/**
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
((document, submitForm) => {
// Selectors used by this script
const buttonDataSelector = 'data-submit-task';
/**
* Submit the task
* @param task
* @param form
*/
const submitTask = (task, form) => {
if (task === 'config.cancel' || document.formvalidator.isValid(form)) {
submitForm(task, form);
}
};
/**
* Register events
*/
const registerEvents = () => {
document.querySelectorAll(`[${buttonDataSelector}]`).forEach(button => {
button.addEventListener('click', e => {
e.preventDefault();
const task = e.currentTarget.getAttribute(buttonDataSelector);
submitTask(task, e.currentTarget.form);
});
});
};
document.addEventListener('DOMContentLoaded', () => {
registerEvents();
});
})(document, Joomla.submitform);
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| config-default.js | File | 978 B | 0664 |
|
| config-default.min.js | File | 516 B | 0664 |
|
| config-default.min.js.gz | File | 381 B | 0664 |
|
| config-filters.js | File | 1 KB | 0664 |
|
| config-filters.min.js | File | 756 B | 0664 |
|
| config-filters.min.js.gz | File | 430 B | 0664 |
|
| modules-default.js | File | 979 B | 0664 |
|
| modules-default.min.js | File | 517 B | 0664 |
|
| modules-default.min.js.gz | File | 381 B | 0664 |
|
| templates-default.js | File | 981 B | 0664 |
|
| templates-default.min.js | File | 519 B | 0664 |
|
| templates-default.min.js.gz | File | 382 B | 0664 |
|