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 07:04:21 UTC

[1/2] incubator-ponymail git commit: adjust swipe to work with the new open-email array

Repository: incubator-ponymail
Updated Branches:
  refs/heads/coffee-and-cake 44100e943 -> 50594ffa5


adjust swipe to work with the new open-email array


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

Branch: refs/heads/coffee-and-cake
Commit: f2fe07c3701dafe25eba7366b6cd883902e4aca3
Parents: 44100e9
Author: Daniel Gruno <hu...@apache.org>
Authored: Mon Sep 5 09:04:03 2016 +0200
Committer: Daniel Gruno <hu...@apache.org>
Committed: Mon Sep 5 09:04:03 2016 +0200

----------------------------------------------------------------------
 site/js/coffee/listview_basic.coffee | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/f2fe07c3/site/js/coffee/listview_basic.coffee
----------------------------------------------------------------------
diff --git a/site/js/coffee/listview_basic.coffee b/site/js/coffee/listview_basic.coffee
index adce8ee..a74323f 100644
--- a/site/js/coffee/listview_basic.coffee
+++ b/site/js/coffee/listview_basic.coffee
@@ -252,7 +252,7 @@ class BasicListView
         scrollBar = window.innerHeight < obj.bottom
         
         ### Abort swiping if an email is open or scrollbar is present ###
-        if ponymail_email_open or scrollBar
+        if ponymail_email_open.length > 0 or scrollBar
             return
         
         if direction == 'down'


[2/2] incubator-ponymail git commit: regen JS

Posted by hu...@apache.org.
regen JS


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

Branch: refs/heads/coffee-and-cake
Commit: 50594ffa5044a14d65d9f1d17df0cb36cfc5601b
Parents: f2fe07c
Author: Daniel Gruno <hu...@apache.org>
Authored: Mon Sep 5 09:04:09 2016 +0200
Committer: Daniel Gruno <hu...@apache.org>
Committed: Mon Sep 5 09:04:09 2016 +0200

----------------------------------------------------------------------
 site/js/ponymail-coffee.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/50594ffa/site/js/ponymail-coffee.js
----------------------------------------------------------------------
diff --git a/site/js/ponymail-coffee.js b/site/js/ponymail-coffee.js
index 0a7249f..c4bfe8a 100644
--- a/site/js/ponymail-coffee.js
+++ b/site/js/ponymail-coffee.js
@@ -1406,7 +1406,7 @@ BasicListView = (function() {
     scrollBar = window.innerHeight < obj.bottom;
 
     /* Abort swiping if an email is open or scrollbar is present */
-    if (ponymail_email_open || scrollBar) {
+    if (ponymail_email_open.length > 0 || scrollBar) {
       return;
     }
     if (direction === 'down') {