mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 04:45:20 +03:00
Set file type descriptions for open / save dialogs.
This commit is contained in:
parent
1a2fe994fd
commit
eec1388a2d
8 changed files with 11 additions and 11 deletions
|
@ -206,7 +206,7 @@ function configuration_backup(callback) {
|
|||
var filename = generateFilename(prefix, suffix);
|
||||
|
||||
var accepts = [{
|
||||
extensions: [suffix]
|
||||
description: suffix.toUpperCase() + ' files', extensions: [suffix]
|
||||
}];
|
||||
|
||||
// create or load the file
|
||||
|
@ -277,7 +277,7 @@ function configuration_restore(callback) {
|
|||
var chosenFileEntry = null;
|
||||
|
||||
var accepts = [{
|
||||
extensions: ['json']
|
||||
description: 'JSON files', extensions: ['json']
|
||||
}];
|
||||
|
||||
// load up the file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue