Explorar el Código

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

André hace 7 años
padre
commit
e304860408
Se han modificado 1 ficheros con 1 adiciones y 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');
         },