mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Submit (unlock) unmodified entry upon unload
SVN revision: 907
This commit is contained in:
parent
4968d6005c
commit
c3343e773c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.346 2004/06/16 12:27:00 midas
|
||||||
|
Submit (unlock) unmodified entry upon unload
|
||||||
|
|
||||||
Revision 1.345 2004/06/16 12:15:58 midas
|
Revision 1.345 2004/06/16 12:15:58 midas
|
||||||
Mark re-edited entries as modified in jscript
|
Mark re-edited entries as modified in jscript
|
||||||
|
|
||||||
@ -6562,6 +6565,10 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
rsprintf(" document.form1.submit();\n");
|
rsprintf(" document.form1.submit();\n");
|
||||||
rsprintf(" }\n");
|
rsprintf(" }\n");
|
||||||
rsprintf(" }\n");
|
rsprintf(" }\n");
|
||||||
|
rsprintf(" if (!submitted && !modified) {\n");
|
||||||
|
rsprintf(" document.form1.jcmd.value = '%s';\n", loc("Back"));
|
||||||
|
rsprintf(" document.form1.submit();\n");
|
||||||
|
rsprintf(" }\n");
|
||||||
rsprintf("}\n\n");
|
rsprintf("}\n\n");
|
||||||
|
|
||||||
/* mod() gets called via throuch "onchange" event */
|
/* mod() gets called via throuch "onchange" event */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user