You are here: FAQ amoCourse Can't Save course

Can't Save course

Author:
Renzo Meister
Date added:
Monday, 28 June 2010
Rating:
 
Vote for this:
Good - Bad

Answer

It's a bug in TinyMCE editor. With the following patch the editor is working correctly:

Open file /plugins/editors/tinymce.php
Search for:
 function onSave($editor) {
return 'if (tinyMCE.get("'.$editor.'").isHidden()) {tinyMCE.get("'.$editor.'").show()}; tinyMCE.get("'.$editor.'").save();';
an change it to:
 function onSave($editor) {
return 'if (tinyMCE.get(\''.$editor.'\').isHidden()) {tinyMCE.get(\''.$editor.'\').show()}; tinyMCE.get(\''.$editor.'\').save();';

(replacing all " with \' will correct the bug)

Category

LiveZilla Live Help
LiveZilla Live Help