More Home progress:

- Add support for projectmanager favorites
This commit is contained in:
Nathan Gray 2014-11-28 17:36:31 +00:00
parent f3c3fedf32
commit c869407836

View File

@ -111,7 +111,14 @@ class home_favorite_portlet extends home_portlet
// Always load app's javascript, so most actions have a chance of working
egw_framework::validate_file('','app',$this->context['appname']);
// Set this so app's JS gets initialized
$old_app = $GLOBALS['egw_info']['flags']['currentapp'];
$GLOBALS['egw_info']['flags']['currentapp'] = $this->context['appname'];
$etemplate->exec(get_called_class() .'::process',$content,$sel_options);
$GLOBALS['egw_info']['flags']['currentapp'] = $old_app;
}
public static function process($content = array())