Debugging progress broadcasts

This commit is contained in:
Rick Falkvinge
2018-02-11 21:18:23 +01:00
parent 19a313a6b4
commit 75d8ca2044
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -57,6 +57,8 @@
if (<%=this.ClientID%>_lastProgress < 100 && newProgress >= 100) {
alertify.log("100% width");
$("#Div_<%=this.ClientID %>_ProgressBar .progressbar-value").animate(
{
width: "100%"
+2
View File
@@ -126,9 +126,11 @@ function _masterInitializeSocket(authenticationTicket) {
}
}
else if (message.MessageType == "ProgressUpdate") {
alertify.log("Received ProgressUpdate: " + message.Progress);
var updateFunction = window["progressUpdateCallback_" + message.Guid];
if (updateFunction != undefined) {
alertify.log("Calling ProgressUpdate: " + message.Progress);
updateFunction(message.Progress);
}
}