diff --git a/src/PVE/APIServer/Formatter/Bootstrap.pm b/src/PVE/APIServer/Formatter/Bootstrap.pm index be37441..0055d64 100644 --- a/src/PVE/APIServer/Formatter/Bootstrap.pm +++ b/src/PVE/APIServer/Formatter/Bootstrap.pm @@ -113,6 +113,7 @@ sub el { my $noescape = { placeholder => 1, + onclick => 1, }; foreach my $attr (keys %param) { diff --git a/src/PVE/APIServer/Formatter/HTML.pm b/src/PVE/APIServer/Formatter/HTML.pm index 80617ca..2ce0723 100644 --- a/src/PVE/APIServer/Formatter/HTML.pm +++ b/src/PVE/APIServer/Formatter/HTML.pm @@ -34,7 +34,7 @@ sub render_page { cn => { tag => 'a', href => $get_portal_login_url->($config), - onClick => "PVE.delete_auth_cookie();", + onclick => "PVE.delete_auth_cookie();", text => "Logout", }};