ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject [1/4] incubator-ponymail git commit: drop bold when clicking on an email/thread
Date Tue, 06 Sep 2016 14:12:12 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/coffee-and-cake abac8d911 -> 62ea9663d


drop bold when clicking on an email/thread


Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/3c4a2bb6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/3c4a2bb6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/3c4a2bb6

Branch: refs/heads/coffee-and-cake
Commit: 3c4a2bb69f093e8f0b7d5bba8b7da05c8d1633da
Parents: abac8d9
Author: Daniel Gruno <humbedooh@apache.org>
Authored: Tue Sep 6 15:24:41 2016 +0200
Committer: Daniel Gruno <humbedooh@apache.org>
Committed: Tue Sep 6 15:24:41 2016 +0200

----------------------------------------------------------------------
 site/js/coffee/listview_basic.coffee        | 2 +-
 site/js/coffee/listview_single_email.coffee | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/3c4a2bb6/site/js/coffee/listview_basic.coffee
----------------------------------------------------------------------
diff --git a/site/js/coffee/listview_basic.coffee b/site/js/coffee/listview_basic.coffee
index 8ad3fc0..980bde8 100644
--- a/site/js/coffee/listview_basic.coffee
+++ b/site/js/coffee/listview_basic.coffee
@@ -227,7 +227,7 @@ class BasicListView
                 
             ### Subject, PLUS a bit of the body with a break before ###
             subject = new HTML('div', {}, [
-                new HTML('a', { style: {fontWeight: readStyle}, href: "thread.html/#{thread.tid}",
onclick: "readEmail(this.parentNode.parentNode.parentNode); return false;"}, original.subject),
+                new HTML('a', { style: {fontWeight: readStyle}, href: "thread.html/#{thread.tid}",
onclick: "readEmail(this.parentNode.parentNode.parentNode); this.style.fontWeight = 'normal';
return false;"}, original.subject),
                 new HTML('br'),
                 new HTML('span', {class: "listview_item_body"}, thread.body)
             ])

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/3c4a2bb6/site/js/coffee/listview_single_email.coffee
----------------------------------------------------------------------
diff --git a/site/js/coffee/listview_single_email.coffee b/site/js/coffee/listview_single_email.coffee
index 07cd0f7..5aa3e07 100644
--- a/site/js/coffee/listview_single_email.coffee
+++ b/site/js/coffee/listview_single_email.coffee
@@ -104,7 +104,7 @@ class SingleListView extends BasicListView
                 
             ### Subject, PLUS a bit of the body with a break before ###
             subject = new HTML('div', {}, [
-                new HTML('a', { style: {fontWeight: readStyle}, href: "thread.html/#{original.id}",
onclick: "readEmail(this.parentNode.parentNode.parentNode); return false;"}, original.subject),
+                new HTML('a', { style: {fontWeight: readStyle}, href: "thread.html/#{original.id}",
onclick: "readEmail(this.parentNode.parentNode.parentNode); this.style.fontWeight = 'normal';
return false;"}, original.subject),
             ])
             
             


Mime
View raw message