CoreFiles by mySites.guru
sendtestmail.min.js1 lines, 1,270 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
819057e7bca4cabafede896b828d872a
sha1
f6691366439e3c2602739f0a72943ef15755da7d
sha256
363168a5d86e77a55780069d5f4b5b77df48450f0f2b10085f4b16d7e8e53045
"use strict";var sendTestMail=function(){var e={smtpauth:document.querySelector('[name="jform[smtpauth]"]').value,smtpuser:document.querySelector('[name="jform[smtpuser]"]').value,smtppass:document.querySelector('[name="jform[smtppass]"]').value,smtphost:document.querySelector('[name="jform[smtphost]"]').value,smtpsecure:document.querySelector('[name="jform[smtpsecure]"]').value,smtpport:document.querySelector('[name="jform[smtpport]"]').value,mailfrom:document.querySelector('[name="jform[mailfrom]"]').value,fromname:document.querySelector('[name="jform[fromname]"]').value,mailer:document.querySelector('[name="jform[mailer]"]').value,mailonline:document.querySelector('[name="jform[mailonline]"]').value};Joomla.removeMessages(),Joomla.request({url:document.getElementById("sendtestmail").getAttribute("data-ajaxuri"),method:"POST",data:JSON.stringify(e),perform:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"},onSuccess:function(e,t){"object"==typeof(e=JSON.parse(e)).messages&&null!==e.messages&&Joomla.renderMessages(e.messages)},onError:function(e){Joomla.renderMessages(Joomla.ajaxErrorsMessages(e))}})};document.addEventListener("DOMContentLoaded",function(){document.getElementById("sendtestmail").addEventListener("click",sendTestMail)});

No other release has this exact content. See every version of this file.