diff --git a/core/storage-manager.js b/core/storage-manager.js index 87e90fe2..33313b2b 100644 --- a/core/storage-manager.js +++ b/core/storage-manager.js @@ -144,6 +144,9 @@ storageManager._validation = function (content) { } else if (typeof value === 'boolean' || value instanceof Boolean) { imported[key] = content[key]; } + } else if (content[key] === undefined) { + // Set default if not existing in file + imported[key] = value; } else { alert(chrome.i18n.getMessage('dialogImportFailed')); throw 'Invalid file!';