sweh / ajja

JavaScript library for simple creation of forms and display of collections
MIT License
2 stars 0 forks source link

Make it possible to distinct autosave and form submit #27

Open sweh opened 8 years ago

sweh commented 8 years ago

Originally reported by: Florian Pilz (Bitbucket: florianpilz, GitHub: florianpilz)


We should separate the save_url into save_url and autosave_url. The former is called when submitting the form and the latter is used for autosave using a JSON API. This is important for some use cases like sending an e-mail based on form input, since that triggers a completely different action.