mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
Uncheck PHP after enable TinyMCE
This needs to be rewritten anyway
This commit is contained in:
parent
3fb9b1ae2f
commit
193e18523d
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user