From 4f6c54ee7341e716098b03ae4a15bd48246f703e Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 16 Sep 2002 08:27:20 +0000 Subject: [PATCH] Fixed problem with Konqueror and 'Cancel' SVN revision: 244 --- elogd.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/elogd.c b/elogd.c index 4ea1a015..4ec5d72e 100755 --- a/elogd.c +++ b/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 2.79 2002/09/16 08:27:20 midas + Fixed problem with Konqueror and 'Cancel' + Revision 2.78 2002/09/16 07:02:54 midas Version 2.1.3 @@ -5311,7 +5314,7 @@ int i; /*---- header ----*/ - show_standard_header(loc("ElOG user config"), ""); + show_standard_header(loc("ElOG user config"), "."); /*---- title ----*/ @@ -9616,6 +9619,14 @@ LOGBOOK *cur_lb; return; } + /* check for "Cancel" button */ + if (equal_ustring(command, loc("Cancel"))) + { + sprintf(str, "../%s/%s", logbook_enc, path); + redirect(str); + return; + } + /* check for "Last n*2 Entries" */ strcpy(str, getparam("last")); if (strchr(str, ' '))