From 054a657bb79662cd55b2155305bfe04e420ee200 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 2 Aug 2007 16:19:01 +0000 Subject: [PATCH] Fixed problem with HTML encoding getting unchecked on reload SVN revision: 1901 --- src/elogd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 9f205735..6aa54697 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -9485,6 +9485,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsprintf(" oFCKeditor.BasePath = '../fckeditor/';\n"); rsprintf(" oFCKeditor.Config['CustomConfigurationsPath'] = '../fckelog.js';\n"); rsprintf(" oFCKeditor.ReplaceTextarea();\n"); + rsprintf(" document.getElementById('HTML').checked = true;\n"); rsprintf("}\n"); rsprintf("\n\n"); } @@ -10642,7 +10643,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL if (allowed_encoding & 4) { if (enc_selected == 2) - rsprintf(""); + rsprintf(""); else rsprintf ("");