Reset the update-status / save-button?

I wonder if it is possible to reset Kirbys “update-status”?
How can I set or reset this kirby pending changes flag?

I’ve created. a custom button plugin which saves the page. All works fine, data is actually saved (in the backend). The default Kirbys save and revert buttons turn red (on top right) stay active… after saving the data in my plugin. How to reset them…

Thanks in advance.

you could make your custom save button click the kirby save button

Thanks Bruno for the quick response :pray:

you mean with js?

yes. using js to select the button and call the .click() method on it

Thanks Bruno,

I’ll give it a try

Regards