mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed problem with Konqueror and 'Cancel'
SVN revision: 244
This commit is contained in:
parent
50d295218e
commit
4f6c54ee73
13
elogd.c
13
elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$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
|
Revision 2.78 2002/09/16 07:02:54 midas
|
||||||
Version 2.1.3
|
Version 2.1.3
|
||||||
|
|
||||||
@ -5311,7 +5314,7 @@ int i;
|
|||||||
|
|
||||||
/*---- header ----*/
|
/*---- header ----*/
|
||||||
|
|
||||||
show_standard_header(loc("ElOG user config"), "");
|
show_standard_header(loc("ElOG user config"), ".");
|
||||||
|
|
||||||
/*---- title ----*/
|
/*---- title ----*/
|
||||||
|
|
||||||
@ -9616,6 +9619,14 @@ LOGBOOK *cur_lb;
|
|||||||
return;
|
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" */
|
/* check for "Last n*2 Entries" */
|
||||||
strcpy(str, getparam("last"));
|
strcpy(str, getparam("last"));
|
||||||
if (strchr(str, ' '))
|
if (strchr(str, ' '))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user