]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make the confirm dialog modal by default
authorJoas Schilling <coding@schilljs.com>
Mon, 15 Jun 2020 14:43:18 +0000 (16:43 +0200)
committerJoas Schilling <coding@schilljs.com>
Tue, 23 Jun 2020 12:22:48 +0000 (14:22 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
core/src/OC/dialogs.js

index 9d724b069ae0f8af5def069af96e1443eaf16dc7..b54ca7434c014fbf418362f07bacae3d08a61cbe 100644 (file)
@@ -108,7 +108,7 @@ const Dialogs = {
                        'none',
                        buttons,
                        callback,
-                       modal
+                       modal === undefined ? true : modal
                )
        },
        /**