Progress work
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
{
|
||||
// This function primarily gets called via a socket handler invoked on the master page, but also from our fallback polling.
|
||||
|
||||
alertify.log(newProgress); // debug
|
||||
|
||||
if (newProgress > <%=this.ClientID%>_lastProgress) {
|
||||
|
||||
$("#Div_<%=this.ClientID %>_ProgressBar .progressbar-value").animate(
|
||||
@@ -77,6 +79,8 @@
|
||||
function <%= this.ClientID%>_progressFallbackPoll() {
|
||||
<%=this.ClientID%>_nextPollTimer = null;
|
||||
|
||||
alertify.log("ProgressPollTimer"); // debug
|
||||
|
||||
SwarmopsJS.ajaxCall(
|
||||
"/Automation/Json-ByGuid.aspx/GetNonsocketProgress",
|
||||
{ guid: '<%= this.Guid%>' },
|
||||
|
||||
@@ -106,10 +106,12 @@
|
||||
}
|
||||
|
||||
function onExpensifyProgressHalfway() {
|
||||
alertify.log("OnExpensifyProgressHalfway"); // debug
|
||||
$('#divUploadExpensify').slideUp().fadeOut();
|
||||
}
|
||||
|
||||
function onExpensifyProgressComplete() {
|
||||
alertify.log("OnExpensifyProgressComplete"); // debug
|
||||
<%=this.ProgressExpensify.ClientID%>_hide();
|
||||
<%=this.ProgressExpensifyFake.ClientID%>_show();
|
||||
$('#divUploadExpensify').hide();
|
||||
|
||||
Reference in New Issue
Block a user