This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit caf4eaa340c28a1b0e2fa06f5ed99b142b4c2141
Author: Daniel Gruno <[email protected]>
AuthorDate: Tue Sep 21 18:13:21 2021 -0500

    sync with chatty layout
---
 webui/js/ponymail.js            | 1 +
 webui/js/source/render-email.js | 1 +
 2 files changed, 2 insertions(+)

diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index 6f1c506..2706cf4 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -3482,6 +3482,7 @@ async function render_email(state, json) {
     // Source-view button
     let sourcebutton = new HTML('a', {
         href: '%sapi/source.lua?id=%s'.format(apiURL, json.mid),
+        target: '_self',
         title: "View raw source",
         class: 'btn toolbar_btn toolbar_button_source'
     }, new HTML('span', {
diff --git a/webui/js/source/render-email.js b/webui/js/source/render-email.js
index f7cb2c6..db7ceda 100644
--- a/webui/js/source/render-email.js
+++ b/webui/js/source/render-email.js
@@ -155,6 +155,7 @@ async function render_email(state, json) {
     // Source-view button
     let sourcebutton = new HTML('a', {
         href: '%sapi/source.lua?id=%s'.format(apiURL, json.mid),
+        target: '_self',
         title: "View raw source",
         class: 'btn toolbar_btn toolbar_button_source'
     }, new HTML('span', {

Reply via email to