ability to select what kind of test email to send

This commit is contained in:
psychobunny
2015-09-21 17:17:23 -04:00
parent fa8a2c5c1b
commit 55748ac3f5
4 changed files with 53 additions and 7 deletions

View File

@@ -93,7 +93,7 @@ define('admin/settings', ['uploader', 'sounds'], function(uploader, sounds) {
handleUploads();
$('button[data-action="email.test"]').off('click').on('click', function() {
socket.emit('admin.email.test', function(err) {
socket.emit('admin.email.test', {template: $('#test-email').val()}, function(err) {
if (err) {
return app.alertError(err.message);
}