forked from extern/egroupware
set currentapp to app whos category we display to fix refresh issues for user (not admin) opening cats in app-tab
This commit is contained in:
parent
6c47da8f64
commit
e54a56efd6
@ -37,4 +37,16 @@ class preferences_categories_ui extends admin_categories {
|
|||||||
$rows['edit_link'] = 'preferences.preferences_categories_ui.edit';
|
$rows['edit_link'] = 'preferences.preferences_categories_ui.edit';
|
||||||
return $count;
|
return $count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Overriding index to set currentapp to be app whos categories we display
|
||||||
|
*
|
||||||
|
* @param array $content
|
||||||
|
*/
|
||||||
|
public function index(array $content=null)
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_info']['flags']['currentapp'] = $_GET['cats_app'];
|
||||||
|
|
||||||
|
parent::index($content);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user