neocotic/template — Issue #60: Automatically save options
Author: neocotic
Created: 2012-01-30 09:04:41+00:00
State: open
Labels: javascript, options, presentation

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.