__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
(function () {
'use strict';
/**
* @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
(function (document) {
document.addEventListener('DOMContentLoaded', function () {
window.jSelectModuleType = function () {
var elements = document.querySelectorAll('#moduleDashboardAddModal .modal-footer .btn.hidden');
if (elements.length) {
setTimeout(function () {
elements.forEach(function (button) {
button.classList.remove('hidden');
});
}, 1000);
}
};
var buttons = document.querySelectorAll('#moduleDashboardAddModal .modal-footer .btn');
var hideButtons = [];
var isSaving = false;
if (buttons.length) {
buttons.forEach(function (button) {
if (button.classList.contains('hidden')) {
hideButtons.push(button);
}
button.addEventListener('click', function (event) {
var elem = event.currentTarget;
// There is some bug with events in iframe where currentTarget is "null"
// => prevent this here by bubble up
if (!elem) {
elem = event.target;
}
if (elem) {
var clickTarget = elem.dataset.bsTarget;
// We remember to be in the saving process
isSaving = clickTarget === '#saveBtn';
// Reset saving process, if e.g. the validation of the form fails
setTimeout(function () {
isSaving = false;
}, 1500);
var iframe = document.querySelector('#moduleDashboardAddModal iframe');
var content = iframe.contentDocument || iframe.contentWindow.document;
var targetBtn = content.querySelector(clickTarget);
if (targetBtn) {
targetBtn.click();
}
}
});
});
}
var elementH = document.querySelector('#moduleDashboardAddModal');
if (elementH) {
elementH.addEventListener('hide.bs.modal', function () {
hideButtons.forEach(function (button) {
button.classList.add('hidden');
});
});
elementH.addEventListener('hidden.bs.modal', function () {
if (isSaving) {
setTimeout(function () {
window.parent.location.reload();
}, 1000);
}
});
}
});
})(document);
})();
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| admin-add_module-es5.js | File | 2.52 KB | 0664 |
|
| admin-add_module-es5.min.js | File | 1.17 KB | 0664 |
|
| admin-add_module-es5.min.js.gz | File | 583 B | 0664 |
|
| admin-add_module.js | File | 2.29 KB | 0664 |
|
| admin-add_module.min.js | File | 1.07 KB | 0664 |
|
| admin-add_module.min.js.gz | File | 565 B | 0664 |
|
| admin-cpanel-default-es5.js | File | 4.58 KB | 0664 |
|
| admin-cpanel-default-es5.min.js | File | 2.15 KB | 0664 |
|
| admin-cpanel-default-es5.min.js.gz | File | 1.06 KB | 0664 |
|
| admin-cpanel-default.js | File | 3.76 KB | 0664 |
|
| admin-cpanel-default.min.js | File | 1.86 KB | 0664 |
|
| admin-cpanel-default.min.js.gz | File | 979 B | 0664 |
|
| admin-system-loader-es5.js | File | 2.44 KB | 0664 |
|
| admin-system-loader-es5.min.js | File | 1.29 KB | 0664 |
|
| admin-system-loader-es5.min.js.gz | File | 653 B | 0664 |
|
| admin-system-loader.js | File | 2.25 KB | 0664 |
|
| admin-system-loader.min.js | File | 1.23 KB | 0664 |
|
| admin-system-loader.min.js.gz | File | 635 B | 0664 |
|