CoreFiles by mySites.guru
sendtestmail.js1 lines, 974 bytes, from Joomla_3.6.0-Stable-Full_Package.zip
Raw History Compare with 3.5.1
md5
aa00edd4572951104d86461022261071
sha1
63c02b9b41a2f8636a17efdf80bf7dc9b1b29041
sha256
61a3fba5e05a59e0d84db711de711d36bf6f7c15cc492ebbfe4f24a023089727
jQuery(document).ready(function(e){e("#sendtestmail").click(function(){var a={smtpauth:e('input[name="jform[smtpauth]"]:checked').val(),smtpuser:e('input[name="jform[smtpuser]"]').val(),smtppass:e('input[name="jform[smtppass]"]').val(),smtphost:e('input[name="jform[smtphost]"]').val(),smtpsecure:e('select[name="jform[smtpsecure]"]').val(),smtpport:e('input[name="jform[smtpport]"]').val(),mailfrom:e('input[name="jform[mailfrom]"]').val(),fromname:e('input[name="jform[fromname]"]').val(),mailer:e('select[name="jform[mailer]"]').val(),mailonline:e('input[name="jform[mailonline]"]:checked').val()};Joomla.removeMessages(),e.ajax({method:"POST",url:document.getElementById("sendtestmail").getAttribute("data-ajaxuri"),data:a,dataType:"json"}).fail(function(e,a,m){Joomla.renderMessages(Joomla.ajaxErrorsMessages(e,a,m)),window.scrollTo(0,0)}).done(function(e){"object"==typeof e.messages&&null!==e.messages&&(Joomla.renderMessages(e.messages),window.scrollTo(0,0))})})});

The same content is in 3 releases, Joomla 3.6.0-rc to 3.6.0. See them all, or every version of this file.