I have a little problem with elogd 3.1.0. The problem persists up to the latest ELOG version, even in the
development branch (V3.1.0-8196b81):
When I want to "Submit" a new entry, I get a javascript pop-up that asks me:
_This page is asking you to confirm that you want to leave - data you have entered may not be saved._
with the options:
"Stay on page" or "Leave page".
The entry is properly submitted if I agree to "Leave page".
But it is very confusing for my users: they are afraid to loose their entry text.
This problem only shows for some specific logbook configurations.
Below is a minimal logbook configuration that shows this problem:
if you select "entry = short", the pop-up is shown;
if you select "entry = long", the pop-up is not shown, the entry is created immediately.
Attributes = entry, when
Options entry = short{1}, long
Type when = datetime
{1} Show Attributes Edit = entry
(PS: it took me several hours to boil down my 120 line configuration into four lines :-) ) |