Skip to content

Commit

Permalink
notice key change accepted when not closing popup in between
Browse files Browse the repository at this point in the history
  • Loading branch information
ttyridal committed Aug 9, 2016
1 parent 5bb8ea3 commit 555f765
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/data/main_popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,11 @@ document.querySelector('#mainPopup').addEventListener('click', function(ev) {
ui.toggle('#burgermenu');
}
else if (ev.target.id === 'change_keyid_ok') {
session_store.key_id = mpw_session.key_id();
addon.port.emit('store_update', {
username: session_store.username,
masterkey: session_store.masterkey,
key_id: mpw_session.key_id(),
key_id: session_store.key_id,
force_update: true
});
ui.user_info("Password for " + ui.sitename() + " copied to clipboard");
Expand Down

0 comments on commit 555f765

Please sign in to comment.