I’m seeing the following behaviour If I open up an existing event using the lightbox form (heavily customised) and change any of the values and press cancel rather than save:
- The values are correctly not saved to the DB. So this is fine.
- If I re-open the event, I see the changed values rather than the original values. - PROBLEM.
- Refreshing the browser and re-opening the event, again shows the original values. This is also fine.
Is there a built-in way to reset the lightbox form values to it’s original values so that point 2 won’t happen?
Many thanks for your help.