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

commit b6f22ea63735c42a3b7e24cda91a1ac86f66cd70
Author: Daniel Gruno <[email protected]>
AuthorDate: Tue Sep 21 15:21:31 2021 -0500

    regen JS
---
 webui/js/ponymail.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index e9f4ba1..b848310 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -2374,6 +2374,7 @@ function listview_list_lists(state, json) {
             class: 'search'
         }, "Search: %s".format(state.query));
         li.setAttribute("data-url", state.url);
+        li.setAttribute("data-list", "%s@%s".format(current_list, 
current_domain));
         li.setAttribute("data-href", location.href);
         lists.inject(li);
     }
@@ -3986,7 +3987,8 @@ function calendar_click(year, month) {
     }
     GET('%sapi/stats.lua?list=%s&domain=%s&d=%u-%u&q=%s'.format(apiURL, 
calendar_current_list, calendar_current_domain, year, month, q), 
renderListView, {
         to: '%s@%s'.format(calendar_current_list, calendar_current_domain),
-        update_calendar: false
+        update_calendar: false,
+        search: (q && q.length > 0)
     });
 }
 

Reply via email to