Skip to content

Feature co2708 cake5 UI fixes #71

Merged
merged 2 commits into from
Nov 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions app/templates/layout/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@
$bodyClasses = $controller_stripped . ' ' .$action_stripped;

// add further body classes as needed
if($this->getRequest()->getSession()->check('Auth.User') != NULL) {
$bodyClasses .= ' logged-in';
} else {
$bodyClasses .= ' logged-out';
}
$bodyClasses .= !empty($vv_user) ? ' logged-in' : ' logged-out';
?>
<body class="<?= $bodyClasses ?>">
<div id="skip-to-content-box">
Expand Down
6 changes: 6 additions & 0 deletions app/webroot/js/comanage/match-onload.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,10 @@ $(function() {
}

});

// Dismiss the loading animation on pagehide so that browser caching (specifically Chrome)
// will not retain it in the DOM when a user hits the back-button.
$(window).on('pagehide', function() {
stopSpinner();
});
});