Review main Abandoned

4109[BUGFIX] Show warning message if the open record changed during editing

Kay Strobach CR 0 V 0 Hard +322 −11 updated 06/03/13, 20:49

Commit message

This bugfix adds a polling algorithm to the tceforms to check,
whether a record is changed, it lowers the
risk of a lost update with the new cardlayout.

The change is detected by using the lastmod timestamp of the related
record.

Logic of this change:
1. onReady
2. find formElements named according tceforms convention and create
   list of edited records
3. initial poll for lastchange
4. periodical polling

After each polling the lastchange time is checked for changes, having a
change you get an Ext.Msg.confirm to decide, whether to reload the form
or merge the changes manually.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 13