Fix Save/Cancel buttons in preferences.

Registry section should be 'list', not 'index'.  Also handle deprecated 'view_list' too.
This commit is contained in:
Nathan Gray 2013-12-04 18:17:01 +00:00
parent 2600b84805
commit 2ba1eec06a

View File

@ -96,10 +96,12 @@ class preferences_settings
{
if($appname != 'common')
{
egw_framework::redirect_link(
egw_framework::link('/index.php'),
egw_link::get_registry($appname, 'index')
);
$extra = egw_link::get_registry($appname, 'list');
if(!$extra)
{
$extra = egw_link::get_registry($appname,'view_list');
}
egw_framework::redirect_link(egw_framework::link('/index.php'),$extra);
}
else
{