mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed bug with extendable options popping up a warning window about leaving the page
This commit is contained in:
parent
6f2eed1852
commit
67987d091f
@ -11003,7 +11003,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
if (attr_flags[index] & AF_EXTENDABLE) {
|
if (attr_flags[index] & AF_EXTENDABLE) {
|
||||||
sprintf(str, loc("Add %s"), attr_list[index]);
|
sprintf(str, loc("Add %s"), attr_list[index]);
|
||||||
rsprintf
|
rsprintf
|
||||||
("<input type=submit name=\"extend_%d\" value=\"%s\" onClick=\"return mark_submit();\">\n",
|
("<input type=submit name=\"extend_%d\" value=\"%s\" onClick=\"return mark_submitted();\">\n",
|
||||||
index, str);
|
index, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11047,7 +11047,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
if (attr_flags[index] & AF_EXTENDABLE) {
|
if (attr_flags[index] & AF_EXTENDABLE) {
|
||||||
sprintf(str, loc("Add %s"), attr_list[index]);
|
sprintf(str, loc("Add %s"), attr_list[index]);
|
||||||
rsprintf
|
rsprintf
|
||||||
("<input type=submit name=\"extend_%d\" value=\"%s\" onClick=\"return mark_submit();\">\n",
|
("<input type=submit name=\"extend_%d\" value=\"%s\" onClick=\"return mark_submitted();\">\n",
|
||||||
index, str);
|
index, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11128,7 +11128,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
if (attr_flags[index] & AF_EXTENDABLE) {
|
if (attr_flags[index] & AF_EXTENDABLE) {
|
||||||
sprintf(str, loc("Add %s"), attr_list[index]);
|
sprintf(str, loc("Add %s"), attr_list[index]);
|
||||||
rsprintf
|
rsprintf
|
||||||
("<input type=submit name=\"extend_%d\" value=\"%s\" onClick=\"return mark_submit();\">\n",
|
("<input type=submit name=\"extend_%d\" value=\"%s\" onClick=\"return mark_submitted();\">\n",
|
||||||
index, str);
|
index, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11801,7 +11801,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
rsprintf("%s\n", att[index] + 14);
|
rsprintf("%s\n", att[index] + 14);
|
||||||
rsprintf(" <input type=\"submit\" name=\"delatt%d\" value=\"%s\" ", index,
|
rsprintf(" <input type=\"submit\" name=\"delatt%d\" value=\"%s\" ", index,
|
||||||
loc("Delete"));
|
loc("Delete"));
|
||||||
rsprintf("onClick=\"return mark_submit();\">");
|
rsprintf("onClick=\"return mark_submitted();\">");
|
||||||
rsprintf("<br>\n");
|
rsprintf("<br>\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user