Add working showPicker
to open files dialog
This commit is contained in:
parent
67f6fa7587
commit
1bfbde320c
1 changed files with 1 additions and 1 deletions
|
@ -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' })
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue