How can we detect if there really is a change?

I’m trying to do some sthuff everythime when events update,
the problem is that: everytime when i click save button it call " onEventChanged" function, no matter if i really change something in sections or not.

How can I prevent the calling “onEventChanged” function when I click on the save button without any changes in the sections.

Hello @pc_engineer

You can’t prevent calling the onEventChanged event, but you can distinguish calls: when the user changes something or not.

You also need to use onBeforeLightbox event to save values of event properties, and then compare these values with new ones in the onEventChanged.

There is getEvent() method to get access to event object and its properties.