Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
19eec738
authored
2023-04-23 18:33:51 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
newsletter_type
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
fdc0b01a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
com/Notifications/views/create.php
com/Notifications/views/create.php
View file @
19eec73
...
...
@@ -412,16 +412,17 @@ endforeach;
fr_subject: $('[name="fr_subject"]').val(),
en_html: jQuery(tinymce.get('en_html').getBody()).html(),
fr_html: jQuery(tinymce.get('fr_html').getBody()).html(),
newsletter_type: jQuery('
[name="newsletter_type]
').val(),
newsletter_type: jQuery('
#newsletter_type
').val(),
};
$.ajax({
url: '/wp-admin/admin-ajax.php',
data: (options),
type: 'POST',
dataType: 'json',
success: function(data) {
console.log(data.success);
if (data.success == "true") {
console.log(data.success);
alert("Newsletter Saved");
}
}
...
...
Please
register
or
sign in
to post a comment