Fixed problem with Konqueror and 'Cancel'

SVN revision: 244
This commit is contained in:
2002-09-16 08:27:20 +00:00
parent 50d295218e
commit 4f6c54ee73
+12 -1
View File
@@ -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, ' '))