From 5b970c79ad108c17af796700006c1130b4db9b56 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 7 Apr 2021 14:28:22 +0200 Subject: [PATCH] role/audit: Use `role-audit` as id instead of `role/audit` Since HTML5 nearly any char is allowed in ids, including the slash, but jQuery doesn't support the slash as part of css selectors... --- application/controllers/RoleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/RoleController.php b/application/controllers/RoleController.php index 8f99603a5..b0f4c7ce3 100644 --- a/application/controllers/RoleController.php +++ b/application/controllers/RoleController.php @@ -239,7 +239,7 @@ class RoleController extends AuthBackendController $this->addControl($header); $this->addContent( (new PrivilegeAudit($chosenRole !== null ? [$chosenRole] : $assignedRoles)) - ->addAttributes(['id' => 'role/audit']) + ->addAttributes(['id' => 'role-audit']) ); }