mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed problem with HTML encoding getting unchecked on reload
SVN revision: 1901
This commit is contained in:
parent
3b6629d2c8
commit
054a657bb7
@ -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.BasePath = '../fckeditor/';\n");
|
||||||
rsprintf(" oFCKeditor.Config['CustomConfigurationsPath'] = '../fckelog.js';\n");
|
rsprintf(" oFCKeditor.Config['CustomConfigurationsPath'] = '../fckelog.js';\n");
|
||||||
rsprintf(" oFCKeditor.ReplaceTextarea();\n");
|
rsprintf(" oFCKeditor.ReplaceTextarea();\n");
|
||||||
|
rsprintf(" document.getElementById('HTML').checked = true;\n");
|
||||||
rsprintf("}\n");
|
rsprintf("}\n");
|
||||||
rsprintf("</script>\n\n");
|
rsprintf("</script>\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 (allowed_encoding & 4) {
|
||||||
if (enc_selected == 2)
|
if (enc_selected == 2)
|
||||||
rsprintf("<input type=radio id=\"HTML\" name=\"encoding\" value=\"HTML\" checked>");
|
rsprintf("<input type=radio id=\"HTML\" name=\"encoding\" value=\"HTML\" checked=\"checked\">");
|
||||||
else
|
else
|
||||||
rsprintf
|
rsprintf
|
||||||
("<input type=radio id=\"HTML\" name=\"encoding\" value=\"HTML\" onclick=\"cond_submit()\">");
|
("<input type=radio id=\"HTML\" name=\"encoding\" value=\"HTML\" onclick=\"cond_submit()\">");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user