Clean code

This commit is contained in:
Laurent Destailleur 2020-10-31 12:41:26 +01:00
parent df7218b6a4
commit 8d6fa350b9

View File

@ -216,9 +216,8 @@ if (empty($conf->use_javascript_ajax))
print '</form>'."\n"; print '</form>'."\n";
// Add env of ckeditor // Add env of ckeditor
// This is to show how CKEditor detect browser to understand why editor is disabled or not // This is to show how CKEditor detect browser to understand why editor is disabled or not. To help debug.
if (1 == 2) // Change this to enable output /*
{
print '<br><script language="javascript"> print '<br><script language="javascript">
function jsdump(obj, id) { function jsdump(obj, id) {
var out = \'\'; var out = \'\';
@ -232,6 +231,7 @@ if (empty($conf->use_javascript_ajax))
jsdump(CKEDITOR.env, "divforlog"); jsdump(CKEDITOR.env, "divforlog");
</script>'; </script>';
} }
*/
} }
// End of page // End of page