ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject [2/2] incubator-ponymail git commit: regen JS
Date Mon, 05 Sep 2016 14:48:08 GMT
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/30a6a077
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/30a6a077
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/30a6a077

Branch: refs/heads/coffee-and-cake
Commit: 30a6a077ea67fc814ee3036f0b88a2fff6298f5a
Parents: dd8f45b
Author: Daniel Gruno <humbedooh@apache.org>
Authored: Mon Sep 5 16:47:53 2016 +0200
Committer: Daniel Gruno <humbedooh@apache.org>
Committed: Mon Sep 5 16:47:53 2016 +0200

----------------------------------------------------------------------
 site/js/ponymail-coffee.js | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/30a6a077/site/js/ponymail-coffee.js
----------------------------------------------------------------------
diff --git a/site/js/ponymail-coffee.js b/site/js/ponymail-coffee.js
index 419ea51..040a94b 100644
--- a/site/js/ponymail-coffee.js
+++ b/site/js/ponymail-coffee.js
@@ -1398,7 +1398,7 @@ BasicListView = (function() {
         fontSize: "80%",
         textAlign: "center"
       }
-    }, "Showing items " + f + " through " + l + " out of " + this.listsize);
+    }, "Showing items " + f + " through " + l + " out of " + this.listsize + " results.");
     this.lv.inject(dStat);
 
     /* First, build the prev/next buttons if needed */
@@ -1519,16 +1519,15 @@ BasicListView = (function() {
   /* countEmail: func for counting how many emails are in a thread */
 
   BasicListView.prototype.countEmail = function(thread) {
-    var item, j, len, nc, nnc, ref;
+    var item, j, len, nc, ref;
     nc = 0;
-    if (thread.children && isArray(thread.children)) {
+    if (isArray(thread.children)) {
       ref = thread.children;
       for (j = 0, len = ref.length; j < len; j++) {
         item = ref[j];
         nc++;
         if (item.children && isArray(item.children) && item.children.length
> 0) {
-          nnc = this.countEmail(item);
-          nc += nnc;
+          nc += this.countEmail(item);
         }
       }
     }


Mime
View raw message