TT#35952 Use ajax sync GET to request projects

Otherwise projects loop in 'update_info' function
returns immediately during the very first call and
no data shown on page for another 30 seconds

Change-Id: Ic94894dcace48b3c1dc0bf01759b5088ca3cea37
changes/03/27203/1
Sergii Kipot 6 years ago
parent 7457a3a3ad
commit 7c79db569d

@ -436,6 +436,7 @@ function get_projects(release) {
$.ajax({
url: '/release/' + release + '/?format=json',
method: 'GET',
async: false,
contentType: "application/json; charset=utf-8",
dataType: "json",
success: successFunc,

Loading…
Cancel
Save