Debugging progress broadcasts
This commit is contained in:
@@ -57,6 +57,8 @@
|
||||
|
||||
if (<%=this.ClientID%>_lastProgress < 100 && newProgress >= 100) {
|
||||
|
||||
alertify.log("100% width");
|
||||
|
||||
$("#Div_<%=this.ClientID %>_ProgressBar .progressbar-value").animate(
|
||||
{
|
||||
width: "100%"
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user