CoreFiles by mySites.guru
admin-users-mail.min.js7 lines, 888 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
a77ca18c05ff0fa8f2955025526a5dec
sha1
696a34abeb6e32f8b6d5b10ae88b7e4ffa98770b
sha256
6afa84524fadc7be481ea2d08e348833655980a013c64470ba797821901437bd
/**
 * @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
 */document.addEventListener("DOMContentLoaded",()=>{Joomla.submitbutton=n=>{const e=document.adminForm,t=document.createElement("joomla-alert");if(n==="mail.cancel"){Joomla.submitform(n);return}e.jform_subject.value===""?(t.innerText=Joomla.Text._("COM_USERS_MAIL_PLEASE_FILL_IN_THE_SUBJECT"),e.insertAdjacentElement("afterbegin",t)):e.jform_group.value<0?(t.innerText=Joomla.Text._("COM_USERS_MAIL_PLEASE_SELECT_A_GROUP"),e.insertAdjacentElement("afterbegin",t)):e.jform_message.value===""?(t.innerText=Joomla.Text._("COM_USERS_MAIL_PLEASE_FILL_IN_THE_MESSAGE"),e.insertAdjacentElement("afterbegin",t)):Joomla.submitform(n)}});

The same content is in 28 releases, Joomla 4.4.1-rc1 to 4.4.14. See them all, or every version of this file.