Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Change in encoding close entry, posted by Holger Mundhahs on Mon Apr 3 10:32:45 2006 
    icon2.gif   Re: Change in encoding close entry, posted by Stefan Ritt on Mon Apr 3 10:35:37 2006 
       icon2.gif   Re: Change in encoding close entry, posted by Holger Mundhahs on Mon Apr 3 10:48:45 2006 
          icon2.gif   Re: Change in encoding close entry, posted by Stefan Ritt on Tue Apr 4 20:45:28 2006 
Message ID: 1784     Entry time: Mon Apr 3 10:48:45 2006     In reply to: 1783     Reply to this: 1791
Icon: Reply  Author: Holger Mundhahs  Author Email: holger.mundhahs@vtg-rail.com 
Category: Question  OS: Windows  ELOG Version: 2.6.1-1681 
Subject: Re: Change in encoding close entry 
> > Maybe it is a wrong configuration, because in this forum it works well.
> > If I change the encoding in the logbook entry I get "Submit modified ELOG entry?",
> > and after clicking OK the entry is closed. Because this behavior is on all loggbooks
> > it must be a global config entry, but I dont know, which.
> >
> > ...
> > Use Lock = 1
> > ...
> 
> I comes from using the lock. If you remove that, you won't get this dialog box any more.
OK, it seems, that the last part of the Use Lock documentation is the explanation:
----
If someone edits an entry, but then goes away from that page or closes the browser without submitting the 
changes, a pop-up window appears asking the user to submit the changed entry. Although this works for most 
browsers in most cases, it could be that Javascript has been turned off in a browser, in which case the stale 
locks still might appear.
---
So if I switch the encoding the whole entry is reloaded, and the JS take it as leaving.
Is it possible to change this behavior? Changing encoding should be handled different as
"regular" leaving.

Additional information:
If you have set Use Lock = 1 you can't switch the encoding on a NEW entry.
The new entry is closed w/o saving. To prevent this you must input any data,
after them you can save the NEW entry with the PopUp-OK. But there can't be 
anyone else on a new entry?
ELOG V3.1.5-fe60aaf