CoreFiles by mySites.guru
admin-users-mail.min.js1 lines, 676 bytes, from Joomla_4.0.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta2
md5
11418f61ea8a650eead6bc2188c124b0
sha1
b6fc27ac006be1c0b2ec4820f47b2be382c65e64
sha256
f24344e8fd08ec9cbe063405e7aa5fed635abe6b6b1b536bc4c989c4c7e25b47
(function(){'use strict';document.addEventListener("DOMContentLoaded",function(){Joomla.submitbutton=function(a){var b=document.adminForm,c=document.createElement("joomla-alert");return"mail.cancel"===a?void Joomla.submitform(a):void(""===b.jform_subject.value?(c.innerText=Joomla.JText._("COM_USERS_MAIL_PLEASE_FILL_IN_THE_SUBJECT"),b.insertAdjacentElement("afterbegin",c)):0>b.jform_group.value?(c.innerText=Joomla.JText._("COM_USERS_MAIL_PLEASE_SELECT_A_GROUP"),b.insertAdjacentElement("afterbegin",c)):""===b.jform_message.value?(c.innerText=Joomla.JText._("COM_USERS_MAIL_PLEASE_FILL_IN_THE_MESSAGE"),b.insertAdjacentElement("afterbegin",c)):Joomla.submitform(a))}})})();

The same content is in 9 releases, Joomla 4.0.0-alpha11 to 4.0.0-beta7. See them all, or every version of this file.