Join GitHub today
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.