working on making the file upload work over websocket and json

This commit is contained in:
deranjer committed 2018-01-17 23:27:27 -05:00
1 parent 8e72ffb917
commit 06e9317c9a
7876 files changed
+385003 -7978

No files matched your search

@@ -52,8 +52,10 @@ ws.onmessage = function (evt) { //When we recieve a message from the websocket
ETA: serverMessage.data[i].ETA,
TotalUploadedSize: serverMessage.data[i].TotalUploadedSize,
Ratio: serverMessage.data[i].UploadRatio,
DateAdded: serverMessage.data[i].DateAdded,
FileNumber: serverMessage.data[i].NumberofFiles,
PieceNumber: serverMessage.data[i].NumberofPieces,
MaxConnections: serverMessage.data[i].MaxConnections,
})
}
var newTitle = '(' + serverMessage.total + ')' + title; //updating the title