Fixed backup / restore, unified file name generation.

10.3.x-maintenance
Michael Keller 2017-03-03 13:35:24 +13:00
parent c09416de51
commit 57b9c58a22
1 changed files with 0 additions and 3 deletions

View File

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