mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Fixed submission_locked in <textarea>
SVN revision: 2344
This commit is contained in:
parent
9fee4e51d8
commit
f78750b595
@ -11000,11 +11000,11 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
|
|
||||||
if (enc_selected == 1)
|
if (enc_selected == 1)
|
||||||
/* use hard wrapping only for plain text */
|
/* 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);
|
width);
|
||||||
else
|
else
|
||||||
rsprintf
|
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);
|
height, width);
|
||||||
|
|
||||||
if (isparam("nsel")) {
|
if (isparam("nsel")) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user