Fixed bug with init script

SVN revision: 2343
This commit is contained in:
Stefan Ritt 2010-11-24 11:10:20 +00:00
parent 7c8bbde92f
commit 9fee4e51d8

View File

@ -9956,7 +9956,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
if ((isparam("inlineatt") && *getparam("inlineatt")) || bpreview)
strcpy(script_onload, "document.form1.Text.focus();");
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 (!getcfg(lbs->name, "Message height", str, sizeof(str)) &&