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:12 UTC

[5/9] incubator-ponymail git commit: reset month when switching lists

reset month when switching lists


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

Branch: refs/heads/coffee-and-cake
Commit: e13a2db7ef42ced71105d5dac468d0c7a0c94893
Parents: cab2119
Author: Daniel Gruno <hu...@apache.org>
Authored: Sun Sep 4 09:42:37 2016 +0200
Committer: Daniel Gruno <hu...@apache.org>
Committed: Sun Sep 4 09:42:37 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/e13a2db7/site/js/coffee/preferences.coffee
----------------------------------------------------------------------
diff --git a/site/js/coffee/preferences.coffee b/site/js/coffee/preferences.coffee
index 0e691dd..939cbfc 100644
--- a/site/js/coffee/preferences.coffee
+++ b/site/js/coffee/preferences.coffee
@@ -45,7 +45,7 @@ setupAccount = (json, state) ->
             sortedList.sort((a,b) => if myDomain[a] < myDomain[b] then 1 else -1)
             for list in sortedList[0..maxLists-1]
                 li = new HTML('li', {},
-                              new HTML('a', { href: "?#{list}@#{ponymail_domain}", onclick: "listView({list: '#{list}@#{ponymail_domain}'}); return false;"}, list+'@')
+                              new HTML('a', { href: "?#{list}@#{ponymail_domain}", onclick: "listView({month: '', list: '#{list}@#{ponymail_domain}'}); return false;"}, list+'@')
                               )
                 lmenu.inject(li)