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


The following commit(s) were added to refs/heads/master by this push:
     new 7155c1e  Shorten URL
7155c1e is described below

commit 7155c1e5fa27c68435bda3e9c1dd572cf7597d43
Author: Daniel Gruno <[email protected]>
AuthorDate: Fri Nov 20 13:00:44 2020 +0100

    Shorten URL
---
 webui/js/source/listview-flat.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webui/js/source/listview-flat.js b/webui/js/source/listview-flat.js
index dfe9030..e1a2769 100644
--- a/webui/js/source/listview-flat.js
+++ b/webui/js/source/listview-flat.js
@@ -57,7 +57,7 @@ function listview_flat(json, start) {
 
 function listview_flat_element(eml, idx) {
     
-    let link_wrapper = new HTML('a', {href:'thread.html/%s'.format(eml.id), 
onclick:'return(expand_email_threaded(%u, true));'.format(idx)});
+    let link_wrapper = new HTML('a', {href:'thread/%s'.format(eml.id), 
onclick:'return(expand_email_threaded(%u, true));'.format(idx)});
     
     let element = new HTML('div', { class: "listview_email_flat"}, " ");
     let date = new Date(eml.epoch*1000.0);
@@ -100,4 +100,4 @@ function listview_flat_element(eml, idx) {
     link_wrapper.inject(element);
     
     return link_wrapper;
-}
\ No newline at end of file
+}

Reply via email to