mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-18 19:53:27 +02:00
Uncheck PHP after enable TinyMCE
This needs to be rewritten anyway
This commit is contained in:
@@ -66,7 +66,8 @@
|
|||||||
if (!this.checked) {
|
if (!this.checked) {
|
||||||
tinymce.remove('#editor');
|
tinymce.remove('#editor');
|
||||||
} else {
|
} else {
|
||||||
if (tinymce.get('#editor')!== null){
|
$('#php').prop('checked', false);
|
||||||
|
if (tinymce.get('#editor')!== null) {
|
||||||
tinymce.activeEditor.show();
|
tinymce.activeEditor.show();
|
||||||
} else {
|
} else {
|
||||||
tinymceInit();
|
tinymceInit();
|
||||||
|
Reference in New Issue
Block a user