From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH pmg-gui 1/2] attachmentquarantine: fix missing '&' for raw-param addition
Date: Wed, 5 May 2021 11:33:03 +0200 [thread overview]
Message-ID: <20210505093304.32640-2-s.ivanov@proxmox.com> (raw)
In-Reply-To: <20210505093304.32640-1-s.ivanov@proxmox.com>
small glitch introduced in the code cleanup in:
0e26e20aa5522b3f7d05e68c96104b051419b901
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
js/AttachmentQuarantine.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/AttachmentQuarantine.js b/js/AttachmentQuarantine.js
index ed443d7..f1a9a54 100644
--- a/js/AttachmentQuarantine.js
+++ b/js/AttachmentQuarantine.js
@@ -42,7 +42,7 @@ Ext.define('PMG.AttachmentQuarantine', {
let url = `/api2/htmlmail/quarantine/content?id=${rec.data.id}`;
if (raw) {
- url += 'raw=1';
+ url += '&raw=1';
}
preview.setDisabled(false);
preview.update("<iframe frameborder=0 width=100% height=100% sandbox='allow-same-origin' src='" + url +"'></iframe>");
--
2.20.1
next prev parent reply other threads:[~2021-05-05 9:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-05 9:33 [pmg-devel] [PATCH pmg-gui 0/2] fix small glitch in attachment quarantine Stoiko Ivanov
2021-05-05 9:33 ` Stoiko Ivanov [this message]
2021-05-05 9:33 ` [pmg-devel] [PATCH pmg-gui 2/2] quarantineview: unify url generation Stoiko Ivanov
2021-05-11 14:20 ` [pmg-devel] applied: [PATCH pmg-gui 0/2] fix small glitch in attachment quarantine 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=20210505093304.32640-2-s.ivanov@proxmox.com \
--to=s.ivanov@proxmox.com \
--cc=pmg-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.