mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 11:19:14 +02:00
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...
This commit is contained in:
parent
314ec5256c
commit
5b970c79ad
@ -239,7 +239,7 @@ class RoleController extends AuthBackendController
|
|||||||
$this->addControl($header);
|
$this->addControl($header);
|
||||||
$this->addContent(
|
$this->addContent(
|
||||||
(new PrivilegeAudit($chosenRole !== null ? [$chosenRole] : $assignedRoles))
|
(new PrivilegeAudit($chosenRole !== null ? [$chosenRole] : $assignedRoles))
|
||||||
->addAttributes(['id' => 'role/audit'])
|
->addAttributes(['id' => 'role-audit'])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user