diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 380aeb3a76..2c8ecc54e3 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