1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00: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

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,
}); });
}); });