kopia lustrzana https://github.com/OpenDroneMap/WebODM
Accept .geojson on json processing node options
rodzic
21cb6b401c
commit
7ab2b14ba6
|
@ -154,7 +154,7 @@ class ProcessingNodeOption extends React.Component {
|
|||
loadFileControl = ([
|
||||
<button key="btn" type="file" className="btn glyphicon glyphicon-import btn-primary" data-toggle="tooltip" data-placement="left" title={_("Click to import a .JSON file")} onClick={() => this.loadFile()}></button>,
|
||||
<input key="file-ctrl" className="file-control" type="file"
|
||||
accept="text/plain,application/json,application/geo+json"
|
||||
accept="text/plain,application/json,application/geo+json,.geojson"
|
||||
onChange={this.handleFileSelect}
|
||||
ref={(domNode) => { this.fileControl = domNode}} />
|
||||
]);
|
||||
|
|
Ładowanie…
Reference in New Issue