[gen] Added, on edit.pt (the unique Appy form) a handler window.onbeforeunload to warn the user that data can be lost or a lock can stay on the object.
This commit is contained in:
parent
d42dffacad
commit
b3ff087e8f
11 changed files with 76 additions and 60 deletions
|
@ -202,6 +202,9 @@ appyLabels = [
|
|||
('changes_hide', 'Hide changes'),
|
||||
('anonymous', 'an anonymous user'),
|
||||
('page_locked', '${date} - This page is locked by ${user}.'),
|
||||
('warn_leave_form', 'In some situations, by leaving this page this way, you ' \
|
||||
'may lose encoded data or prevent other users from ' \
|
||||
'editing it afterwards. Please use buttons instead.'),
|
||||
]
|
||||
|
||||
# Some default values for labels whose ids are not fixed (so they can't be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue