From 9b233fd27149a821014587c028d17cb051fe4b9f Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Thu, 8 Jan 2026 02:19:59 +0100 Subject: [PATCH] fix: add type=button to media picker modal buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevents form validation from being triggered when clicking the close button or load more button inside the modal. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- app/templates/shared/macros/modals.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/templates/shared/macros/modals.html b/app/templates/shared/macros/modals.html index 7962c73d..c8c40f49 100644 --- a/app/templates/shared/macros/modals.html +++ b/app/templates/shared/macros/modals.html @@ -770,6 +770,7 @@ {% endif %}