From cf700c7ab40c658598e94d63d6e0ad53fdb9bfef Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 15 Jun 2020 16:43:18 +0200 Subject: [PATCH] Make the confirm dialog modal by default Signed-off-by: Joas Schilling --- core/src/OC/dialogs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 380aeb3a76..2c8ecc54e3 100644 --- a/core/src/OC/dialogs.js +++ b/core/src/OC/dialogs.js @@ -107,7 +107,7 @@ const Dialogs = { 'none', buttons, callback, - modal + modal === undefined ? true : modal ) }, /** @@ -1245,7 +1245,7 @@ const Dialogs = { dir: '', name: '' // Ugly but works ;) }, { escapeFunction: null }).prependTo(this.$dirTree) - + }, /** * handle selection made in the tree list