SOLVED: Apply Control action

I am working on integration for Typekit inside of the Theme Styles and I have added a ‘apply’ control in order to sync with the Typekit API to get the latest fonts (instead of making an API every time you save), which are then saved in the database.

Is there a way to trigger an action with this button? Ideally, I would like to clear out the saved fonts before the page reloads.

I ended up using jQuery to accomplish this.

Hi Josh,

I’m thrilled you solved this by yourself! I was a bit limited the last couple of days due to an operation on my hand which made typing impossible.

Best regards,
timmse