this is more JS than ATK related:
I implemented a nice autosave, each input has an onChange handler that submits the form. This works perfectly for textareas and dropdowns, text inputs have one flaw:
When pressing the enter key in a text input, the form is submitted, too. Now this causes a double form submission as the enter key submits and the inChange handler submits. Any Idea how to stop this the smart way?