This commit is contained in:
David Rowe 2017-01-13 12:28:53 +13:00
parent ad5822d96d
commit d7ab7316a8

View file

@ -80,10 +80,10 @@
// Add button links. // Add button links.
$('#exploreClaraMarketplace').on('click', function () { $('#exploreClaraMarketplace').on('click', function () {
window.location = "https://clara.io/library?gameCheck=true&public=true" window.location = "https://clara.io/library?gameCheck=true&public=true";
}); });
$('#exploreHifiMarketplace').on('click', function () { $('#exploreHifiMarketplace').on('click', function () {
window.location = "http://www.highfidelity.com/marketplace" window.location = "http://www.highfidelity.com/marketplace";
}); });
} }
@ -218,7 +218,7 @@
responseTextIndex = this.responseText.length; responseTextIndex = this.responseText.length;
}; };
// Note: onprogress doesn't have computable total length. // Note: onprogress doesn't have computable total length so can't use it to determine % complete.
xmlHttpRequest.onload = function () { xmlHttpRequest.onload = function () {
var statusMessage = ""; var statusMessage = "";
@ -236,7 +236,7 @@
} }
if (zipFileURL.slice(-4) !== ".zip") { if (zipFileURL.slice(-4) !== ".zip") {
statusMessage = "Error creating zip file for download"; statusMessage = "Error creating zip file for download.";
console.log("ERROR: Clara.io FBX: " + statusMessage + ": " + zipFileURL); console.log("ERROR: Clara.io FBX: " + statusMessage + ": " + zipFileURL);
EventBridge.emitWebEvent(CLARA_IO_STATUS + " " + statusMessage); EventBridge.emitWebEvent(CLARA_IO_STATUS + " " + statusMessage);
return; return;