1
0
Fork 0
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:
mikeller 2018-07-17 22:01:18 +12:00
parent 1a2fe994fd
commit eec1388a2d
8 changed files with 11 additions and 11 deletions

View file

@ -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