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/19 22:31:07 UTC
[incubator-ponymail-foal] 02/02: regen and fix
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 af8122b42513237a619802739bff86306b922358
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Sep 19 17:30:50 2021 -0500
regen and fix
---
webui/js/ponymail.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index a340066..00b4d9c 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -1932,7 +1932,7 @@ function ponymail_swipe(event) {
Fetched from source/list-index.js
******************************************/
-let LOTS_OF_LISTS = 2; // Beyond 25 list domains and we start using the old phonebook.
+let LOTS_OF_LISTS = 25; // Beyond 25 list domains and we start using the old phonebook.
let list_json = {}
function list_index(state, json) {
@@ -1964,7 +1964,9 @@ function list_index(state, json) {
let list_ul = document.getElementById('list_index_wide_lists');
list_ul.textContent = "";
- for (let domain_name in list_json.lists) {
+ let domains = Object.keys(list_json.lists);
+ domains.sort();
+ for (let domain_name of domains) {
if (is_letter(domain_name, letter)) {
console.log(domain_name);
let li = new HTML('li', {});