Prefs UI fixes
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 25 Nov 2010 05:26:39 +0000 (22:26 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 25 Nov 2010 05:26:39 +0000 (22:26 -0700)
commit89cc9ab4cc71249fed38d1e480b5d6dae16b31f5
treee953e2e78b697c9a588e88b1e86299d5e96d43d7
parent2d187ab0ed14eeca1d5d15af1c6848ab99d7ab73
Prefs UI fixes

Remove prefsEnum() call; replace with prefsGroup() call

prefsInit() is designed for tasks that need to run once on the page.
This is where all suppressGroups handling should go.

Next, prefsGroups() is used to determine the list of prefs that need to
be updated.  However, after prefs are updated, suppressed prefs may
change so we need to run prefsGroups() again to get the updated list of
suppressed prefs for display.

prefsEnum() becomes redundant because it can be handled in either
prefsInit() or prefsGroups().
12 files changed:
agora/lib/Application.php
ansel/lib/Application.php
framework/Core/lib/Horde/Core/Prefs/Ui.php
framework/Core/lib/Horde/Registry/Application.php
horde/lib/Application.php
horde/lib/Prefs/Ui.php
imp/lib/Application.php
imp/lib/Prefs/Ui.php
kronolith/lib/Application.php
mnemo/lib/Application.php
nag/lib/Application.php
turba/lib/Application.php