Skip to content

Commit 6beef8b

Browse files
committed
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
1 parent dbbce63 commit 6beef8b

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

Web/Resgrid.Web/Areas/User/Views/Home/Dashboard.cshtml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,30 @@
222222
</div>
223223
</div>
224224

225-
<div class="respondToACallWindow" id="respondToACallWindow"></div>
226-
<div class="respondToAStationWindow" id="respondToAStationWindow"></div>
225+
<div class="modal fade" tabindex="-1" role="dialog" id="respondToACallWindow">
226+
<div class="modal-dialog">
227+
<div class="modal-content">
228+
<div class="modal-header">
229+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
230+
<h4 class="modal-title">@localizer["RespondToCall"]</h4>
231+
</div>
232+
<div class="modal-body">
233+
</div>
234+
</div>
235+
</div>
236+
</div>
237+
<div class="modal fade" tabindex="-1" role="dialog" id="respondToAStationWindow">
238+
<div class="modal-dialog">
239+
<div class="modal-content">
240+
<div class="modal-header">
241+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
242+
<h4 class="modal-title">@localizer["RespondToStation"]</h4>
243+
</div>
244+
<div class="modal-body">
245+
</div>
246+
</div>
247+
</div>
248+
</div>
227249

228250
@section Scripts
229251
{

0 commit comments

Comments
 (0)