You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2016/09/05 08:35:40 UTC
incubator-ponymail git commit: only ever close one email when toggling
Repository: incubator-ponymail
Updated Branches:
refs/heads/coffee-and-cake 171aaba6b -> 55f345497
only ever close one email when toggling
don't want those nasty loop errors
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/55f34549
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/55f34549
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/55f34549
Branch: refs/heads/coffee-and-cake
Commit: 55f345497d70dba36c292ca468c4c2f2020f2415
Parents: 171aaba
Author: Daniel Gruno <hu...@apache.org>
Authored: Mon Sep 5 10:35:29 2016 +0200
Committer: Daniel Gruno <hu...@apache.org>
Committed: Mon Sep 5 10:35:29 2016 +0200
----------------------------------------------------------------------
site/js/coffee/email_display_basic.coffee | 1 +
site/js/ponymail-coffee.js | 1 +
2 files changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/55f34549/site/js/coffee/email_display_basic.coffee
----------------------------------------------------------------------
diff --git a/site/js/coffee/email_display_basic.coffee b/site/js/coffee/email_display_basic.coffee
index bff4e8b..d149ac1 100644
--- a/site/js/coffee/email_display_basic.coffee
+++ b/site/js/coffee/email_display_basic.coffee
@@ -39,6 +39,7 @@ readEmail = (obj) ->
if mid == email.mid
email.hide()
closedOne = true
+ break
if not closedOne
### We have an(other) email open now ###
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/55f34549/site/js/ponymail-coffee.js
----------------------------------------------------------------------
diff --git a/site/js/ponymail-coffee.js b/site/js/ponymail-coffee.js
index 52d2fb0..4d146fd 100644
--- a/site/js/ponymail-coffee.js
+++ b/site/js/ponymail-coffee.js
@@ -562,6 +562,7 @@ readEmail = function(obj) {
if (mid === email.mid) {
email.hide();
closedOne = true;
+ break;
}
}
if (!closedOne) {