From 67987d091ff5b94e6e5abb40becfe205177bf11f Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 22 Apr 2015 13:03:39 +0200 Subject: [PATCH] Fixed bug with extendable options popping up a warning window about leaving the page --- src/elogd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index 99140e98..848c2199 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -11003,7 +11003,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL if (attr_flags[index] & AF_EXTENDABLE) { sprintf(str, loc("Add %s"), attr_list[index]); rsprintf - ("\n", + ("\n", 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) { sprintf(str, loc("Add %s"), attr_list[index]); rsprintf - ("\n", + ("\n", 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) { sprintf(str, loc("Add %s"), attr_list[index]); rsprintf - ("\n", + ("\n", 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("  "); + rsprintf("onClick=\"return mark_submitted();\">"); rsprintf("
\n"); }