summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-15 16:43:18 +0200
committerJoas Schilling <coding@schilljs.com>2020-06-15 16:56:13 +0200
commitbe0ecbc8c7f855cb0c9822233e38a9b459b80b58 (patch)
treee78811a5bbbf757819e9cdac101cf27ecb91bc64 /core/src
parentb1f74b0056b76402fbd618faff817432dec77ee3 (diff)
downloadnextcloud-server-be0ecbc8c7f855cb0c9822233e38a9b459b80b58.tar.gz
nextcloud-server-be0ecbc8c7f855cb0c9822233e38a9b459b80b58.zip
Make the confirm dialog modal by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/src')
-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