Fixed submission_locked in <textarea>

SVN revision: 2344
This commit is contained in:
Stefan Ritt 2010-11-24 11:33:58 +00:00
parent 9fee4e51d8
commit f78750b595

View File

@ -11000,11 +11000,11 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
if (enc_selected == 1)
/* use hard wrapping only for plain text */
rsprintf("<textarea rows=%d cols=%d wrap=hard name=\"Text\" onChange=\"mod();\">\n", height,
rsprintf("<textarea rows=%d cols=%d wrap=hard name=\"Text\" onKeyPress=\"submission_blocked=false\" onChange=\"mod();\">\n", height,
width);
else
rsprintf
("<textarea rows=%d cols=%d name=\"Text\" onChange=\"mod();\" style=\"width:100%%;\">\n",
("<textarea rows=%d cols=%d name=\"Text\" onKeyPress=\"submission_blocked=false\" onChange=\"mod();\" style=\"width:100%%;\">\n",
height, width);
if (isparam("nsel")) {