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

master
André 2018-10-06 22:09:05 +02:00
parent 1893dae2d9
commit e304860408
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ $(document).ready(function() {
dataType: 'json', dataType: 'json',
url: '/api/v1/get/domain/all', url: '/api/v1/get/domain/all',
jsonp: false, jsonp: false,
async: false,
error: function () { error: function () {
domain_list.push('Cannot read domain list'); domain_list.push('Cannot read domain list');
}, },