From 876d37d19ae75fe4b05271825333964ffc217603 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 2 Feb 2026 17:08:24 +1100 Subject: [PATCH] Fix function call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This function got renamed in 01d58304800a, but this call got missed. I would like to add a spec to cover this, but am not sure exactly how to set it up right now. I also notice that usage occurs after the preventDefault, and one before. I'm not sure if that matters. I have myself to blame for that inconsistency 🤦 --- app/webpacker/js/turbo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/webpacker/js/turbo.js b/app/webpacker/js/turbo.js index 55d1fb2fa1..4414ddcd32 100644 --- a/app/webpacker/js/turbo.js +++ b/app/webpacker/js/turbo.js @@ -9,7 +9,7 @@ document.addEventListener("turbo:frame-missing", (event) => { event.preventDefault(); // show error message instead - showError(event.detail.response?.status); + showHttpError(event.detail.response?.status); }); document.addEventListener("turbo:submit-end", (event) => {