Bugzilla – Bug 9096
Need a callback for settings web handler to be called after saving, but before rendering the page.
Last modified: 2008-08-11 01:15:06 UTC
Some of our settings page handler use local handling because they have to do some processing _after_ the preferences have been stored, but before the page is rendered. Or they return slightly unexpected pages, because the some parameter wasn't set in the global handler. Eg. changing the audiodir will not disable the rescan button, though a scan is launched. This is due to the fact that the stillScanning() call is done in Basic.pm before the pref is stored in Settings.pm Adding a beforeRender() callback or something would allow for improved handling of these cases without the need to have the prefs process.
This is already possible by overwriting handler correctly...