aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-15 16:43:18 +0200
committerJoas Schilling <coding@schilljs.com>2020-06-23 14:09:51 +0200
commitcf700c7ab40c658598e94d63d6e0ad53fdb9bfef (patch)
tree2566421891847cd62e5947ce16aada84b8205162
parent7723529d3170d33951f1ae5caf6ebd5c87cea1b8 (diff)
downloadnextcloud-server-cf700c7ab40c658598e94d63d6e0ad53fdb9bfef.tar.gz
nextcloud-server-cf700c7ab40c658598e94d63d6e0ad53fdb9bfef.zip
Make the confirm dialog modal by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--core/src/OC/dialogs.js4
1 files changed, 2 insertions, 2 deletions
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