fix issue on file manager when a file is selected in the file in the file picker

This commit is contained in:
Simon Vieille 2023-11-16 23:06:00 +01:00
parent 5d6531d197
commit 175321bc2d
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -36,6 +36,7 @@ const fileManagerBrowser = function (callback) {
const clickCallback = (e) => {
callback($(e.target).attr('data-value'), {})
$('#fm-modal').next('.modal-backdrop').remove()
$('#fm-modal').next('div[id^="modal-container-"]').modal('hide')
$('#fm-modal').modal('hide')