[pmg-devel] [PATCH pmg-gui 1/2] attachmentquarantine: fix missing '&' for raw-param addition
Stoiko Ivanov
s.ivanov at proxmox.com
Wed May 5 11:33:03 CEST 2021
small glitch introduced in the code cleanup in:
0e26e20aa5522b3f7d05e68c96104b051419b901
Signed-off-by: Stoiko Ivanov <s.ivanov at 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
More information about the pmg-devel
mailing list