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
61c7767f
authored
2020-11-10 11:53:17 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
eee
1 parent
4f5ad798
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
com/Notifications/Admin.php
com/Notifications/views/create.php
com/Notifications/Admin.php
View file @
61c7767
...
...
@@ -386,7 +386,7 @@ function create_notification()
'post_title'
=>
$subject
,
'post_status'
=>
'publish'
,
'post_type'
=>
'newsLetter'
,
'post_content'
=>
$html
,
'post_content'
=>
'<div id="newsletter">'
.
$html
.
'</div>'
,
)
);
...
...
@@ -464,7 +464,7 @@ function create_notification()
]
);
$links
[
$lang
]
=
get_permalink
(
$post_id
);
$links
[
$lang
]
=
get_post_field
(
'post_name'
,
$post_id
);
}
// make post...
...
...
com/Notifications/views/create.php
View file @
61c7767
...
...
@@ -421,6 +421,11 @@ endforeach;
jQuery(tinymce.get('fr_html').getBody()).html(
<?php
echo
json_encode
(
$newsletterFr
->
post_content
);
?>
);
// jQuery(document).on("click", jQuery(tinymce.get('en_html').getBody()).find( ".toc" ) ,function() {
// console.log(this);
// jQuery(this).parent().remove();
// });
jQuery
(
tinymce
.
get
(
'en_html'
).
getBody
()).
find
(
".toc"
).
click
(
function
()
{
jQuery
(
this
).
parent
().
remove
();
...
...
Please
register
or
sign in
to post a comment