From a9b3c77da386c23173f841ef449508af0b59c10f Mon Sep 17 00:00:00 2001 From: Nachtalb Date: Sat, 22 May 2021 15:35:24 +0200 Subject: [PATCH] Show quit dialog when using /quit Beforehand it only showed the dialog when quitting via the contextmenu. This also adds the possibility for the server to ask for dialogs. --- client/components/ConfirmDialog.vue | 13 ++++++++++++- client/js/vue.js | 23 ++++------------------- src/plugins/inputs/quit.js | 24 +++++++++++------------- src/server.js | 21 +++++++++++++++++++++ 4 files changed, 48 insertions(+), 33 deletions(-) diff --git a/client/components/ConfirmDialog.vue b/client/components/ConfirmDialog.vue index af92e368..5424cd28 100644 --- a/client/components/ConfirmDialog.vue +++ b/client/components/ConfirmDialog.vue @@ -3,7 +3,7 @@
{{ data.title }}
-

{{ data.text }}

+

@@ -52,6 +52,7 @@