Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Automatically save options #60
Remove the need for the user to click the "Save & Close" button on the options page.
Basically, bind events to automatically persist the corresponding option whenever it is changed. I'm not sure how this will work for changing templates yet but, should performance be an issues, update and/or persist these asynchronously. However, care should be taken for how validation is now performed as some validation was only carried out when the "Save & Close" button was clicked. These will now need to be bound to the relevant fields, and only when they are being changed by the user and not by a change to the list selection.