Make the confirm dialog modal by default

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-06-15 16:43:18 +02:00
parent 7723529d31
commit cf700c7ab4
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ const Dialogs = {
'none', 'none',
buttons, buttons,
callback, callback,
modal modal === undefined ? true : modal
) )
}, },
/** /**
@ -1245,7 +1245,7 @@ const Dialogs = {
dir: '', dir: '',
name: '' // Ugly but works ;) name: '' // Ugly but works ;)
}, { escapeFunction: null }).prependTo(this.$dirTree) }, { escapeFunction: null }).prependTo(this.$dirTree)
}, },
/** /**
* handle selection made in the tree list * handle selection made in the tree list