mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-29 04:04:29 +00:00
Fixed bug with init script
SVN revision: 2343
This commit is contained in:
parent
7c8bbde92f
commit
9fee4e51d8
@ -9956,7 +9956,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
if ((isparam("inlineatt") && *getparam("inlineatt")) || bpreview)
|
if ((isparam("inlineatt") && *getparam("inlineatt")) || bpreview)
|
||||||
strcpy(script_onload, "document.form1.Text.focus();");
|
strcpy(script_onload, "document.form1.Text.focus();");
|
||||||
else
|
else
|
||||||
strcpy(script_onload, "i=document.getElementById('fid');if(i)i.focus()");
|
strcpy(script_onload, "i=document.getElementById('fid');if(i)i.focus();");
|
||||||
|
|
||||||
if (enc_selected == 0) {
|
if (enc_selected == 0) {
|
||||||
if (!getcfg(lbs->name, "Message height", str, sizeof(str)) &&
|
if (!getcfg(lbs->name, "Message height", str, sizeof(str)) &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user