DD
Showing
1 changed file
with
12 additions
and
0 deletions
| ... | @@ -304,6 +304,9 @@ endforeach; | ... | @@ -304,6 +304,9 @@ endforeach; |
| 304 | 304 | ||
| 305 | var codeCleaned = false; | 305 | var codeCleaned = false; |
| 306 | 306 | ||
| 307 | |||
| 308 | |||
| 309 | |||
| 307 | $("#notifications-create-new").on("submit", function(e) { | 310 | $("#notifications-create-new").on("submit", function(e) { |
| 308 | if (!codeCleaned) { | 311 | if (!codeCleaned) { |
| 309 | 312 | ||
| ... | @@ -418,6 +421,15 @@ endforeach; | ... | @@ -418,6 +421,15 @@ endforeach; |
| 418 | 421 | ||
| 419 | jQuery(tinymce.get('fr_html').getBody()).html(<?php echo json_encode($newsletterFr->post_content); ?>); | 422 | jQuery(tinymce.get('fr_html').getBody()).html(<?php echo json_encode($newsletterFr->post_content); ?>); |
| 420 | 423 | ||
| 424 | |||
| 425 | jQuery(tinymce.get('en_html').getBody()).find( ".toc" ).click(function() { | ||
| 426 | jQuery(this).parent().remove(); | ||
| 427 | }); | ||
| 428 | |||
| 429 | jQuery(tinymce.get('fr_html').getBody()).find( ".toc" ).click(function() { | ||
| 430 | jQuery(this).parent().remove(); | ||
| 431 | }); | ||
| 432 | |||
| 421 | jQuery('#execute_date').datetimepicker({ | 433 | jQuery('#execute_date').datetimepicker({ |
| 422 | format: 'Y-m-d, H:i', | 434 | format: 'Y-m-d, H:i', |
| 423 | defaultDate: new Date() | 435 | defaultDate: new Date() | ... | ... |
-
Please register or sign in to post a comment