mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 10:27:52 +02:00
Fix Save/Cancel buttons in preferences.
Registry section should be 'list', not 'index'. Also handle deprecated 'view_list' too.
This commit is contained in:
parent
2600b84805
commit
2ba1eec06a
@ -96,10 +96,12 @@ class preferences_settings
|
|||||||
{
|
{
|
||||||
if($appname != 'common')
|
if($appname != 'common')
|
||||||
{
|
{
|
||||||
egw_framework::redirect_link(
|
$extra = egw_link::get_registry($appname, 'list');
|
||||||
egw_framework::link('/index.php'),
|
if(!$extra)
|
||||||
egw_link::get_registry($appname, 'index')
|
{
|
||||||
);
|
$extra = egw_link::get_registry($appname,'view_list');
|
||||||
|
}
|
||||||
|
egw_framework::redirect_link(egw_framework::link('/index.php'),$extra);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user