From e30486040835934e74d0da0f63d6c4de8dceb1cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Sat, 6 Oct 2018 22:09:05 +0200 Subject: [PATCH] [Web] Fix empty domain dropdown in race condition, fixes #1849 as workaround --- data/web/js/mailbox.js | 1 + 1 file changed, 1 insertion(+) diff --git a/data/web/js/mailbox.js b/data/web/js/mailbox.js index 8894e995..ae99ad3d 100644 --- a/data/web/js/mailbox.js +++ b/data/web/js/mailbox.js @@ -8,6 +8,7 @@ $(document).ready(function() { dataType: 'json', url: '/api/v1/get/domain/all', jsonp: false, + async: false, error: function () { domain_list.push('Cannot read domain list'); },