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 2021/09/18 22:50:32 UTC

[incubator-ponymail-foal] branch master updated: add in activity dict when available

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 291b1b5  add in activity dict when available
291b1b5 is described below

commit 291b1b5ab9d361fc4a7ffb3907d0e5ebbb3fcf45
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sat Sep 18 17:50:30 2021 -0500

    add in activity dict when available
---
 webui/js/source/primer.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/webui/js/source/primer.js b/webui/js/source/primer.js
index 46b6b8d..dca90b0 100644
--- a/webui/js/source/primer.js
+++ b/webui/js/source/primer.js
@@ -24,7 +24,7 @@ function renderListView(state, json) {
     current_state = state;
     async_escrow['rendering'] = new Date();
     if (!state || state.update_calendar !== false) {
-        renderCalendar(json.firstYear, json.firstMonth, json.lastYear, json.lastMonth);
+        renderCalendar(json.firstYear, json.firstMonth, json.lastYear, json.lastMonth, json.active_months);
     }
     // sort threads by date
     if (isArray(json.thread_struct)) {
@@ -174,7 +174,7 @@ function render_virtual_inbox(state, json) {
 
         async_escrow['rendering'] = new Date();
         if (!state || state.update_calendar !== false) {
-            renderCalendar(json.firstYear, json.firstMonth, json.lastYear, json.lastMonth);
+            renderCalendar(json.firstYear, json.firstMonth, json.lastYear, json.lastMonth, json.active_months);
         }
         // sort threads by date
         if (isArray(json.thread_struct)) {
@@ -190,4 +190,4 @@ function render_virtual_inbox(state, json) {
         sidebar_stats(current_json); // This comes last, takes the longest with WC enabled.
         delete async_escrow['rendering'];
     }
-}
\ No newline at end of file
+}