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");