From 95b5d22ecdcb2c18b395cecf4335194f53c87d7e Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 11 Jun 2004 07:14:50 +0000 Subject: [PATCH] Tested onUnload SVN revision: 899 --- src/elogd.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index 69752488..637c8c4c 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.338 2004/06/11 07:14:50 midas + Tested onUnload + Revision 1.337 2004/06/07 14:59:42 midas Fixed problem with 'preset text' under conditional attributes @@ -6484,7 +6487,13 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL } rsprintf(" return true;\n"); - rsprintf("}\n"); + rsprintf("}\n\n"); + + rsprintf("function abandon()\n"); + rsprintf("{\n"); + //rsprintf("alert('abandon');\n"); + rsprintf("}\n\n"); + rsprintf("//-->\n"); rsprintf("\n\n"); @@ -6496,7 +6505,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsprintf("\n"); - rsprintf("\n"); + rsprintf("\n"); rsprintf("
\n");