CoreFiles by mySites.guru
sendtestmail.js1 lines, 1,897 bytes, from Joomla_3.6.0-beta2-Beta-Full_Package.zip
Raw History Compare with 3.6.0-beta1
md5
c5bcf3599cd3c404884749b05a29c9d4
sha1
fee3527fc715e1c0cf78f0c6b52c0fbd279bfc80
sha256
3b82b58180db9fd7f3a9672a8e61297454b70ee5a2a59d32e7249f56becd3c7f
jQuery(document).ready(function(e){e("#sendtestmail").click(function(){var s={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()};e.ajax({method:"POST",url:sendtestmail_url,data:s,dataType:"json"}).fail(function(e,s){var a={};if("parsererror"==s){for(var r=e.responseText.trim(),m=[],n=r.length-1;n>=0;n--)m.unshift(["&#",r[n].charCodeAt(),";"].join(""));r=m.join(""),a.error=[Joomla.JText._("COM_CONFIG_SENDMAIL_JS_ERROR_PARSE").replace("%s",r)]}else"nocontent"==s?a.error=[Joomla.JText._("COM_CONFIG_SENDMAIL_JS_ERROR_NO_CONTENT")]:"timeout"==s?a.error=[Joomla.JText._("COM_CONFIG_SENDMAIL_JS_ERROR_TIMEOUT")]:"abort"==s?a.error=[Joomla.JText._("COM_CONFIG_SENDMAIL_JS_ERROR_CONNECTION_ABORT")]:a.error=[Joomla.JText._("COM_CONFIG_SENDMAIL_JS_ERROR_OTHER").replace("%s",e.status)];Joomla.renderMessages(a)}).done(function(e){var s={};"object"==typeof e.messages&&(e.data&&"undefined"!=typeof e.messages.success&&e.messages.success.length>0&&(s.message=[e.messages.success]),"undefined"!=typeof e.messages.error&&e.messages.error.length>0&&(s.error=[e.messages.error]),"undefined"!=typeof e.messages.warning&&e.messages.warning.length>0&&(s.warning=[e.messages.warning]),"undefined"!=typeof e.messages.notice&&e.messages.notice.length>0&&(s.notice=[e.messages.notice]),"undefined"!=typeof e.messages.message&&e.messages.message.length>0&&(s.message=[e.messages.message])),Joomla.renderMessages(s)}),window.scrollTo(0,0)})});

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