From 3fed2b6740c474ff6626dff520a5ee6069b72fdc Mon Sep 17 00:00:00 2001 From: DevSoftTech Server Date: Tue, 4 Aug 2026 03:55:27 +0530 Subject: [PATCH] fix: prevent modal hang/fade by moving it outside refreshable panel div - Move detail modal from system_ops_panel.php to system_ops.php - Modal is now outside #systemOpsPanel so panel refresh never destroys it - Skip refreshPanel() while modal is open (prevents backdrop desync) - Add hidden.bs.modal handler to clean up lingering backdrop and body classes - Fix show.bs.modal handler to correctly read data-detail via jQuery .data() - Add white-space:pre-wrap to detail content for readable log output --- app/Views/Setting/Admin/system_ops.php | 33 ++++++++++++++++++++ app/Views/Setting/Admin/system_ops_panel.php | 30 ------------------ 2 files changed, 33 insertions(+), 30 deletions(-) diff --git a/app/Views/Setting/Admin/system_ops.php b/app/Views/Setting/Admin/system_ops.php index 7b61d65..8d19eb7 100644 --- a/app/Views/Setting/Admin/system_ops.php +++ b/app/Views/Setting/Admin/system_ops.php @@ -29,6 +29,24 @@ $status, 'history' => $history]) ?> + + +