Skip to content

Commit

Permalink
remov messages in sendmail too
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepereiradasilva committed Jun 9, 2016
1 parent 9246cd1 commit 74832a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions media/system/js/sendtestmail-uncompressed.js
Expand Up @@ -24,6 +24,9 @@ jQuery(document).ready(function ($)
mailonline: $('input[name="jform[mailonline]"]:checked').val()
};

// Remove js messages, if they exist.
Joomla.removeMessages();

$.ajax({
method: "POST",
url: sendtestmail_url,
Expand Down
2 changes: 1 addition & 1 deletion media/system/js/sendtestmail.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74832a5

Please sign in to comment.