From 6beef8b0cb88e726461abbb4a34ae606df3be0c4 Mon Sep 17 00:00:00 2001 From: Waylon Kenning Date: Sun, 5 Apr 2026 19:26:40 +1200 Subject: [PATCH] Fix: Replace empty divs with proper Bootstrap modals for Respond to Call/Station The commit RE1-T104 switched from Kendo UI Windows to Bootstrap modals but didn't add the required modal HTML structure. Kendo's kendoWindow() could auto-create the window on empty divs, but Bootstrap modals require actual HTML with .modal, .modal-dialog, .modal-content classes. This fix adds proper Bootstrap modal HTML for both respondToACallWindow and respondToAStationWindow modals in Dashboard.cshtml. Fixes #317 --- .../Areas/User/Views/Home/Dashboard.cshtml | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/Web/Resgrid.Web/Areas/User/Views/Home/Dashboard.cshtml b/Web/Resgrid.Web/Areas/User/Views/Home/Dashboard.cshtml index e9312958..b3056e7a 100644 --- a/Web/Resgrid.Web/Areas/User/Views/Home/Dashboard.cshtml +++ b/Web/Resgrid.Web/Areas/User/Views/Home/Dashboard.cshtml @@ -222,8 +222,30 @@ -
-
+ + @section Scripts {