This commit is contained in:
Rick Falkvinge
2017-10-01 18:15:33 +02:00
parent 3ca9c86419
commit 4903f05834
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -321,6 +321,7 @@ namespace Swarmops.Frontend.Socket
private void BroadcastGuidProgress(Organization organization, string guid, int progress)
{
JObject json = new JObject();
json["MessageType"] = "ProgressUpdate";
json["Guid"] = guid;
json["Progress"] = progress;
+1 -1
View File
@@ -116,7 +116,7 @@ function _masterInitializeSocket(authenticationTicket) {
}
}
else if (message.MessageType == "SandboxUpdate") {
if (odoLocalParticipation != undefined) { // Real ugly accessing specific page elements here, but it's temporary
if (window["odoLocalParticipation"] != undefined) { // Real ugly accessing specific page elements here, but it's temporary
odoLocalParticipation.innerHTML = message.Local;
odoGlobalParticipation.innerHTML = 12345678 + message.Local * 5;
odoActiveParticipation.innerHTML = 123412 + message.Local * 5;