From b28610a626ef601ada99f897e5dd984ae5acc7cc Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 12 Jun 2017 13:14:41 -0600 Subject: [PATCH] Fix ACL dialog actions don't work on first load via top link --- admin/inc/class.admin_acl.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/inc/class.admin_acl.inc.php b/admin/inc/class.admin_acl.inc.php index 517c6cd7f2..79601e29c9 100644 --- a/admin/inc/class.admin_acl.inc.php +++ b/admin/inc/class.admin_acl.inc.php @@ -425,6 +425,10 @@ class admin_acl ) ); + // Set this so if loaded via preferences, js is still properly + // loaded into global app.admin + $GLOBALS['egw_info']['flags']['currentapp'] = 'admin'; + $tpl->exec('admin.admin_acl.index', $content, $sel_options, array(), array(), 2); }