mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 17:49:58 +09:00
Update advanced mailer module to accommodate both email and SMS
This commit is contained in:
parent
6a9185d2b3
commit
211a201e04
10 changed files with 68 additions and 34 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
$(function() {
|
||||
|
||||
$("#advanced_mailer_test_send").click(function(event) {
|
||||
$("#advanced_mailer_test_send_mail").click(function(event) {
|
||||
event.preventDefault();
|
||||
$("#advanced_mailer_test_result").text("");
|
||||
$(this).attr("disabled", "disabled");
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
recipient_email: $("#advanced_mailer_recipient_email").val(),
|
||||
};
|
||||
$.exec_json(
|
||||
"advanced_mailer.procAdvanced_mailerAdminTestSend", ajax_data,
|
||||
"advanced_mailer.procAdvanced_mailerAdminTestSendMail", ajax_data,
|
||||
function(response) {
|
||||
$("#advanced_mailer_test_result").html(response.test_result);
|
||||
$("#advanced_mailer_test_send").removeAttr("disabled");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue