From: Aaron Lauterer <a.lauterer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH widget-toolkit] tfa: paperkey: cleanup iframes for printing after window close
Date: Mon, 3 Apr 2023 14:28:49 +0200 [thread overview]
Message-ID: <20230403122849.745571-1-a.lauterer@proxmox.com> (raw)
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---
similar as in
https://git.proxmox.com/?p=pve-manager.git;a=commitdiff;h=b380cb5814ec551588dfcbd6c5ed190f01d54029
src/window/AddTfaRecovery.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/window/AddTfaRecovery.js b/src/window/AddTfaRecovery.js
index 174d553..dba4454 100644
--- a/src/window/AddTfaRecovery.js
+++ b/src/window/AddTfaRecovery.js
@@ -220,5 +220,6 @@ ${keyString}
printFrame.src = "data:text/html;base64," + btoa(html);
document.body.appendChild(printFrame);
+ me.on('destroy', () => document.body.removeChild(printFrame));
},
});
--
2.30.2
next reply other threads:[~2023-04-03 12:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-03 12:28 Aaron Lauterer [this message]
2023-05-26 8:34 ` Aaron Lauterer
2023-05-28 17:40 ` [pve-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230403122849.745571-1-a.lauterer@proxmox.com \
--to=a.lauterer@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.