mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Fixed error message when 'Show text = 0'
SVN revision: 2188
This commit is contained in:
parent
73576f2a20
commit
6f2880297c
@ -9821,7 +9821,9 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
if (enc_selected == 0)
|
if (enc_selected == 0)
|
||||||
rsprintf("<script type=\"text/javascript\" src=\"../elcode.js\"></script>\n\n");
|
rsprintf("<script type=\"text/javascript\" src=\"../elcode.js\"></script>\n\n");
|
||||||
|
|
||||||
if (enc_selected == 2 && fckedit_exist) {
|
show_text = !getcfg(lbs->name, "Show text", str, sizeof(str)) || atoi(str) == 1;
|
||||||
|
|
||||||
|
if (enc_selected == 2 && fckedit_exist && show_text) {
|
||||||
rsprintf("<script type=\"text/javascript\" src=\"../fckeditor/fckeditor.js\"></script>\n");
|
rsprintf("<script type=\"text/javascript\" src=\"../fckeditor/fckeditor.js\"></script>\n");
|
||||||
rsprintf("<script type=\"text/javascript\">\n");
|
rsprintf("<script type=\"text/javascript\">\n");
|
||||||
/* define strings for current language */
|
/* define strings for current language */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user