Explorar o código

[Web] Fix empty domain dropdown in race condition, fixes #1849 as workaround

André %!s(int64=7) %!d(string=hai) anos
pai
achega
e304860408
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      data/web/js/mailbox.js

+ 1 - 0
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');
         },