diff --git a/tabs/firmware_flasher.js b/tabs/firmware_flasher.js index 891368a3..83e5c9ae 100755 --- a/tabs/firmware_flasher.js +++ b/tabs/firmware_flasher.js @@ -114,6 +114,11 @@ TABS.firmware_flasher.initialize = function (callback) { }); }); TABS.firmware_flasher.releases = releases; + chrome.storage.local.get('selected_board', function (result) { + if (result.selected_board) { + $('select[name="board"]').val(result.selected_board); + } + }); }; function loadReleaseData() { @@ -194,6 +199,7 @@ TABS.firmware_flasher.initialize = function (callback) { versions_e.append(select_e); }); } + chrome.storage.local.set({'selected_board': target}); }); // UI Hooks