summaryrefslogtreecommitdiffstats
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:22:48 +0200
commit62f99f92484fb10262d755eb6c0102f919b9ae24 (patch)
tree2c77730b7df714119b42940a4155c3388e1339c5
parent9fa2d007c1607f152a4efdb2f637f623525cc081 (diff)
downloadnextcloud-server-62f99f92484fb10262d755eb6c0102f919b9ae24.tar.gz
nextcloud-server-62f99f92484fb10262d755eb6c0102f919b9ae24.zip
Make the confirm dialog modal by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--core/src/OC/dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js
index 9d724b069ae..b54ca7434c0 100644
--- a/core/src/OC/dialogs.js
+++ b/core/src/OC/dialogs.js
@@ -108,7 +108,7 @@ const Dialogs = {
'none',
buttons,
callback,
- modal
+ modal === undefined ? true : modal
)
},
/**