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/04 14:27:10 UTC

[3/9] incubator-ponymail git commit: wrong detection type,oops

wrong detection type,oops

should check that it's not undefined, not that it's true


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

Branch: refs/heads/coffee-and-cake
Commit: e076354e9faae36f7ae15f543a579b3362f3af21
Parents: 62d1d2b
Author: Daniel Gruno <hu...@apache.org>
Authored: Sun Sep 4 09:31:15 2016 +0200
Committer: Daniel Gruno <hu...@apache.org>
Committed: Sun Sep 4 09:31:15 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/e076354e/site/js/coffee/listview.coffee
----------------------------------------------------------------------
diff --git a/site/js/coffee/listview.coffee b/site/js/coffee/listview.coffee
index 43b1a73..e31e982 100644
--- a/site/js/coffee/listview.coffee
+++ b/site/js/coffee/listview.coffee
@@ -118,7 +118,7 @@ listView = (hash, reParse) ->
 renderListView = (json, state) ->
     
     ### If this is a cache check callback, and nothing has changed, use the old JSON ###
-    if state and state.href and json.changed and json.changed is false
+    if state and state.href and typeof json.changed != undefined and json.changed is false
         json = ponymail_list_json[state.href]
         json.cached = true
     else if state and state.href