diff --git a/index.html b/index.html index bca079a..9a97a7f 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@

Microsoft Software Download Listing

- + Source code on GitHub diff --git a/js/msdl.js b/js/msdl.js index 64b3b4a..cc378a0 100644 --- a/js/msdl.js +++ b/js/msdl.js @@ -106,8 +106,6 @@ function onDownloadsXhrChange() { } function getLanguages(productId) { - sessionId.value = uuidv4(); - msContent.style.display = "none"; pleaseWait.style.display = "block"; @@ -147,7 +145,8 @@ function prepareDownload(id) { productsList.style.display = 'none'; backToProductsDiv.style.display = 'block'; - return getLanguages(id); + sessionId.value = uuidv4(); + fetch('https://vlscppe.microsoft.com/tags?org_id=y6jn8c31&session_id=' + encodeURIComponent(sessionId.value)).then(() => { getLanguages(id) }, () => { getLanguages(id) }); } function addTableElement(table, value, data) {