Add working showPicker to open files dialog

This commit is contained in:
David Larlet 2023-12-02 11:34:02 -05:00 committed by Yohan Boniface
parent 67f6fa7587
commit 1bfbde320c

View file

@ -117,7 +117,7 @@ L.U.Importer = L.Class.extend({
open: function () { open: function () {
if (!this.container) this.build() if (!this.container) this.build()
this.fileInput.focus() this.fileInput.showPicker()
this.map.ui.openPanel({ data: { html: this.container }, className: 'dark' }) this.map.ui.openPanel({ data: { html: this.container }, className: 'dark' })
}, },