mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Fixed problem with extendable attributes which are fixed during edit
SVN revision: 1483
This commit is contained in:
parent
cabcee4715
commit
bdd32ac8fa
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.748 2005/09/09 09:05:16 ritt
|
||||||
|
Fixed problem with extendable attributes which are fixed during edit
|
||||||
|
|
||||||
Revision 1.747 2005/09/06 12:26:01 ritt
|
Revision 1.747 2005/09/06 12:26:01 ritt
|
||||||
Fixed bug with subtext quick filter
|
Fixed bug with subtext quick filter
|
||||||
|
|
||||||
@ -9797,8 +9800,9 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
|
|
||||||
/* if attribute cannot be changed, just display text */
|
/* if attribute cannot be changed, just display text */
|
||||||
if ((attr_flags[index] & AF_LOCKED) ||
|
if ((attr_flags[index] & AF_LOCKED) ||
|
||||||
(bedit && (attr_flags[index] & AF_FIXED_EDIT)) || (message_id && !bedit
|
((bedit && !breedit && !bupload) && (attr_flags[index] & AF_FIXED_EDIT)) ||
|
||||||
&& (attr_flags[index] & AF_FIXED_REPLY))) {
|
(message_id && !bedit && (attr_flags[index] & AF_FIXED_REPLY))) {
|
||||||
|
|
||||||
if (attr_flags[index] & AF_DATE) {
|
if (attr_flags[index] & AF_DATE) {
|
||||||
|
|
||||||
if (!getcfg(lbs->name, "Date format", format, sizeof(format)))
|
if (!getcfg(lbs->name, "Date format", format, sizeof(format)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user