mirror of
https://github.com/gravesoft/msdl.git
synced 2026-07-25 08:34:28 +00:00
Merge branch 'ave9858:main' into main
This commit is contained in:
+1
-1
@@ -96,6 +96,7 @@ function onDownloadsXhrChange() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getFromServer() {
|
function getFromServer() {
|
||||||
|
processingError.style.display = "none";
|
||||||
let url = apiUrl + "?product_id=" + window.location.hash.substring(1) +
|
let url = apiUrl + "?product_id=" + window.location.hash.substring(1) +
|
||||||
"&sku_id=" + skuId;
|
"&sku_id=" + skuId;
|
||||||
let xhr = new XMLHttpRequest();
|
let xhr = new XMLHttpRequest();
|
||||||
@@ -106,7 +107,6 @@ function getFromServer() {
|
|||||||
|
|
||||||
function displayResponseFromServer() {
|
function displayResponseFromServer() {
|
||||||
pleaseWait.style.display = "none";
|
pleaseWait.style.display = "none";
|
||||||
processingError.style.display = "none";
|
|
||||||
|
|
||||||
if (!(this.status == 200)) {
|
if (!(this.status == 200)) {
|
||||||
processingError.style.display = "block";
|
processingError.style.display = "block";
|
||||||
|
|||||||
Reference in New Issue
Block a user