1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-03 18:28:13 +01:00

Fix QA feedback: save button not working (#2059)

This commit is contained in:
Thomas Rittson 2021-09-09 05:57:46 +10:00 committed by GitHub
parent d7754441d3
commit fa06e8ed6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,9 +53,10 @@ document.addEventListener('DOMContentLoaded', () => {
addButton.addEventListener('click', (e) => { addButton.addEventListener('click', (e) => {
e.preventDefault(); e.preventDefault();
const folderId = document.querySelector('#template-add-clone .select-folder').value;
sendPlatformMessage({ sendPlatformMessage({
command: 'bgAddSave', command: 'bgAddSave',
folder: document.getElementById("select-folder").value, folder: folderId,
}); });
}); });