__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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
*/
Joomla = window.Joomla || {};
(() => {
document.addEventListener('DOMContentLoaded', () => {
// Handle toggle all
document.querySelectorAll('.filter-toggle-all').forEach(button => {
button.addEventListener('click', () => document.querySelectorAll('.filter-node').forEach(node => node.click()));
});
// Update the count
document.querySelectorAll('.filter-node').forEach(() => {
const count = document.getElementById('jform_map_count');
if (count) {
count.value = document.querySelectorAll('input[type="checkbox"]:checked').length;
}
});
document.querySelectorAll('.js-filter').forEach(button => {
button.addEventListener('click', event => {
const btn = event.currentTarget;
document.querySelectorAll(`.${btn.dataset.id}`).forEach(el => el.click());
});
});
// Expand/collapse
const expandAccordion = document.getElementById('expandAccordion');
if (expandAccordion) {
expandAccordion.addEventListener('click', event => {
event.preventDefault();
let elements;
if (event.target.innerText === Joomla.Text._('COM_FINDER_FILTER_SHOW_ALL')) {
event.target.innerText = Joomla.Text._('COM_FINDER_FILTER_HIDE_ALL');
elements = document.querySelectorAll('.accordion-button.collapsed');
} else {
event.target.innerText = Joomla.Text._('COM_FINDER_FILTER_SHOW_ALL');
elements = document.querySelectorAll('.accordion-button:not(.collapsed)');
}
if (elements) {
elements.forEach(element => element.click());
}
});
}
});
})();
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| debug.js | File | 1.77 KB | 0664 |
|
| debug.min.js | File | 1.05 KB | 0664 |
|
| debug.min.js.gz | File | 662 B | 0664 |
|
| filters.js | File | 655 B | 0664 |
|
| filters.min.js | File | 442 B | 0664 |
|
| filters.min.js.gz | File | 330 B | 0664 |
|
| finder-edit.js | File | 1.76 KB | 0664 |
|
| finder-edit.min.js | File | 1.19 KB | 0664 |
|
| finder-edit.min.js.gz | File | 563 B | 0664 |
|
| finder.js | File | 2.81 KB | 0664 |
|
| finder.min.js | File | 1.35 KB | 0664 |
|
| finder.min.js.gz | File | 746 B | 0664 |
|
| indexer.js | File | 6.57 KB | 0664 |
|
| indexer.min.js | File | 3.25 KB | 0664 |
|
| indexer.min.js.gz | File | 1.4 KB | 0664 |
|
| maps.js | File | 567 B | 0664 |
|
| maps.min.js | File | 382 B | 0664 |
|
| maps.min.js.gz | File | 309 B | 0664 |
|