1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 08:45:28 +03:00

Fixed backup / restore, unified file name generation.

This commit is contained in:
Michael Keller 2017-03-03 13:35:24 +13:00
parent c09416de51
commit 57b9c58a22

View file

@ -168,9 +168,6 @@ function configuration_backup(callback) {
var filename = generateFilename(prefix, suffix);
// replace invalid filesystem characters
now = now.replace(new RegExp(':', 'g'), '_');
// create or load the file
chrome.fileSystem.chooseEntry({type: 'saveFile', suggestedName: filename, accepts: [{ extensions: [suffix] }]}, function (fileEntry) {
if (chrome.runtime.lastError) {