mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Fix
This commit is contained in:
parent
a088da6921
commit
c2b0dd0173
1 changed files with 6 additions and 1 deletions
|
@ -1064,7 +1064,12 @@ if (empty($advancedCustom->disableHTMLDescription)) {
|
||||||
?>
|
?>
|
||||||
$('#inputDescription').val(row.descriptionHTML);
|
$('#inputDescription').val(row.descriptionHTML);
|
||||||
if(!empty(tinymce.get('inputDescription'))){
|
if(!empty(tinymce.get('inputDescription'))){
|
||||||
tinymce.get('inputDescription').setContent(row.descriptionHTML);
|
try {
|
||||||
|
tinymce.get('inputDescription').setContent(row.descriptionHTML);
|
||||||
|
} catch (e) {
|
||||||
|
console.error('inputDescription', e, typeof tinymce.get('inputDescription'));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue