kopia lustrzana https://github.com/OpenDroneMap/WebODM
Merge pull request #1118 from Saijin-Naib/Saijin-Naib-Boundary-MIMETypes
Refined Boundary load MIME Typespull/1121/head
commit
500420941d
|
@ -148,7 +148,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/*,application/json"
|
||||
accept="text/plain,application/json,application/geo+json"
|
||||
onChange={this.handleFileSelect}
|
||||
ref={(domNode) => { this.fileControl = domNode}} />
|
||||
]);
|
||||
|
|
Ładowanie…
Reference in New Issue