From db8ef6d38223f0ad1c016bf305bfcfa1ce44d7e7 Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Mon, 19 Feb 2024 21:45:11 -0500 Subject: [PATCH] Fix modal glitch --- app/frontend/templates/panel/dashboard.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/frontend/templates/panel/dashboard.html b/app/frontend/templates/panel/dashboard.html index 7778300a..e5cc46d4 100644 --- a/app/frontend/templates/panel/dashboard.html +++ b/app/frontend/templates/panel/dashboard.html @@ -614,10 +614,13 @@ } console.log("Command received successfully") } else { + setTimeout(function(){ + $('.modal').modal('hide'); bootbox.alert({ title: responseData.status, message: responseData.error }); + }, 2000) } }