__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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) 2018 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @deprecated 4.3
* This file is deprecated and will be removed with Joomla 5.0
*/
(function () {
document.addEventListener('DOMContentLoaded', function () {
Joomla.submitbutton = function (pressbutton) {
var form = document.adminForm;
var html = document.createElement('joomla-alert');
if (pressbutton === 'mail.cancel') {
Joomla.submitform(pressbutton);
return;
}
// do field validation
if (form.jform_subject.value === '') {
html.innerText = Joomla.Text._('COM_USERS_MAIL_PLEASE_FILL_IN_THE_SUBJECT');
form.insertAdjacentElement('afterbegin', html);
} else if (form.jform_group.value < 0) {
html.innerText = Joomla.Text._('COM_USERS_MAIL_PLEASE_SELECT_A_GROUP');
form.insertAdjacentElement('afterbegin', html);
} else if (form.jform_message.value === '') {
html.innerText = Joomla.Text._('COM_USERS_MAIL_PLEASE_FILL_IN_THE_MESSAGE');
form.insertAdjacentElement('afterbegin', html);
} else {
Joomla.submitform(pressbutton);
}
};
});
})();
})();