From: Joas Schilling Date: Mon, 15 Jun 2020 14:43:18 +0000 (+0200) Subject: Make the confirm dialog modal by default X-Git-Tag: v20.0.0beta1~407^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=be0ecbc8c7f855cb0c9822233e38a9b459b80b58;p=nextcloud-server.git Make the confirm dialog modal by default Signed-off-by: Joas Schilling --- diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 380aeb3a76b..2c8ecc54e32 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