芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/media/com_users/js/admin-users-mail.min.js
document.addEventListener("DOMContentLoaded",(()=>{Joomla.submitbutton=e=>{const t=document.adminForm,n=document.createElement("joomla-alert");"mail.cancel"!==e?""===t.jform_subject.value?(n.innerText=Joomla.Text._("COM_USERS_MAIL_PLEASE_FILL_IN_THE_SUBJECT"),t.insertAdjacentElement("afterbegin",n)):t.jform_group.value<0?(n.innerText=Joomla.Text._("COM_USERS_MAIL_PLEASE_SELECT_A_GROUP"),t.insertAdjacentElement("afterbegin",n)):""===t.jform_message.value?(n.innerText=Joomla.Text._("COM_USERS_MAIL_PLEASE_FILL_IN_THE_MESSAGE"),t.insertAdjacentElement("afterbegin",n)):Joomla.submitform(e):Joomla.submitform(e)}}));