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.git
The following commit(s) were added to refs/heads/master by this push: new 31fdd66 json.emails does not exist on 404! 31fdd66 is described below commit 31fdd66751ed92aca002c013f31f1180ec67467b Author: Daniel Gruno <humbed...@apache.org> AuthorDate: Thu Dec 26 19:00:37 2019 +0100 json.emails does not exist on 404! There should be a popup in case of 404, but it never gets there because JS bails, as json.emails would be null. --- site/js/dev/ponymail_email_displays.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/js/dev/ponymail_email_displays.js b/site/js/dev/ponymail_email_displays.js index 313ffe1..464c8f9 100644 --- a/site/js/dev/ponymail_email_displays.js +++ b/site/js/dev/ponymail_email_displays.js @@ -462,7 +462,7 @@ function highlightNewEmails(id) { } function displaySingleThread(json) { - if (json && json.emails[0]) { + if (json && json.emails && json.emails[0]) { current_thread_json = [json.emails[0]] current_flat_json = json.emails }