bug: missing closing div in backups/default.php restore modal (line ~451) #177
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The restore modal markup in
tmpl/backups/default.phpis missing a closing</div>tag around line 451. This causes the modal structure to be malformed, which can break Bootstrap 5 modal behavior depending on how the browser resolves the unclosed element.Location
tmpl/backups/default.php— approximately line 451, inside the restore modal'smodal-bodysection. The opening<div class="modal-body">doesn't have a matching close before the<div class="modal-footer">.What to do
</div>Why
Unclosed HTML elements cause unpredictable browser rendering. In this case it may shift the modal footer inside the body, breaking the sticky footer layout.
Branch created:
feature/177-bug-missing-closing-div-in-backups-defauConfirmed @ 02.56.05 — keep open, with a small correction.
The restore modal in
tmpl/backups/default.php(opens line 399:modal→modal-dialog400 →modal-content401 →form406) is missing one closing</div>: after</form>(450) onlymodal-content(451) andmodal(452) close — themodal-dialog</div>is absent. (The issue text says "modal-body", but modal-body is correctly closed at 441; the unclosed element ismodal-dialog.) Contrast the well-formed progress modal at 455-470. Fix: add one</div>.