From a67bbac54bfeb634353eb787faf67c0e912cb7c3 Mon Sep 17 00:00:00 2001 From: cTn Date: Sun, 12 Oct 2014 16:16:47 +0200 Subject: [PATCH] first set of bugfixes, store configurator version in the backup file --- js/backup_restore.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/backup_restore.js b/js/backup_restore.js index eedc9501..59dfded1 100644 --- a/js/backup_restore.js +++ b/js/backup_restore.js @@ -22,6 +22,7 @@ function configuration_backup(callback) { ]; var configuration = { + 'generatedBy': chrome.runtime.getManifest().version, 'profiles': [] }; @@ -59,11 +60,12 @@ function configuration_backup(callback) { codeKey = 0; fetchingProfile++; - query(); + + MSP.send_message(MSP_codes.MSP_SELECT_SETTING, [fetchingProfile], false, query); } }); } else { - MSP.send_message(MSP_codes.MSP_SELECT_SETTING, [0], false, fetch_unique_data); + MSP.send_message(MSP_codes.MSP_SELECT_SETTING, [activeProfile], false, fetch_unique_data); } }