diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-11-22 09:25:43 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-11-22 09:25:43 +0100 |
commit | 8d3a9d3213c34b9114762f748b48a71854eaa0bc (patch) | |
tree | 3e2e60948d0b21d729559d8abb3df11bdaf49511 /program/js | |
parent | 1900e14d759ed12ee0fd7376b8467883d2160252 (diff) | |
parent | b5117238db2917789ef7657bc9eafe5fd3adfe1f (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/list.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/program/js/list.js b/program/js/list.js index 4ae6c0c66..6f54dd77c 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -91,8 +91,7 @@ init: function() var r, len, rows = this.tbody.childNodes; for (r=0, len=rows.length; r<len; r++) { - this.init_row(rows[r]); - this.rowcount++; + this.rowcount += this.init_row(rows[r]) ? 1 : 0; } this.init_header(); @@ -148,6 +147,8 @@ init_row: function(row) this.row_init(this.rows[uid]); // legacy support this.triggerEvent('initrow', this.rows[uid]); + + return true; } }, |