diff --git a/Site/Pages/v5/Financial/FileExpenseClaim.aspx b/Site/Pages/v5/Financial/FileExpenseClaim.aspx
index a355d915..567c1878 100644
--- a/Site/Pages/v5/Financial/FileExpenseClaim.aspx
+++ b/Site/Pages/v5/Financial/FileExpenseClaim.aspx
@@ -88,9 +88,6 @@
var expensifyProcessingHalfway = false;
function onExpensifyUpload() {
- <%=this.ProgressExpensify.ClientID%>_fadeIn();
- <%=this.ProgressExpensify.ClientID%>_begin(); // starts listening / polling for progress
-
SwarmopsJS.ajaxCall
("/Pages/v5/Financial/FileExpenseClaim.aspx/InitializeExpensifyProcessing",
{
@@ -99,7 +96,8 @@
},
function(result) {
if (result.Success) {
-
+ <%=this.ProgressExpensify.ClientID%>_fadeIn();
+ <%=this.ProgressExpensify.ClientID%>_begin(); // starts listening / polling for progress
}
});
@@ -231,7 +229,7 @@
-
+
diff --git a/Site/Pages/v5/Financial/FileExpenseClaim.aspx.cs b/Site/Pages/v5/Financial/FileExpenseClaim.aspx.cs
index 45584322..19c706e8 100644
--- a/Site/Pages/v5/Financial/FileExpenseClaim.aspx.cs
+++ b/Site/Pages/v5/Financial/FileExpenseClaim.aspx.cs
@@ -160,6 +160,8 @@ namespace Swarmops.Frontend.Pages.v5.Financial
this.LabelExpensifyInstructions1.Text =
Resources.Pages.Financial.FileExpenseClaim_Expensify_InstructionsBasic;
this.LabelExpensifyProcessingComplete.Text = Resources.Global.Global_FileUploadResults;
+ this.LabelExpensifyUploadAnotherHeader.Text =
+ Resources.Pages.Financial.FileExpenseClaim_Expensify_UploadAnother;
if (CurrentOrganization.VatEnabled)
{
@@ -180,6 +182,8 @@ namespace Swarmops.Frontend.Pages.v5.Financial
// Start an async thread that does all the work, then return
AuthenticationData authData = GetAuthenticationDataAndCulture();
+ ProgressBarBackend progress = new ProgressBarBackend(guidProgress);
+ progress.Set(0); // Set to 0 first, esp. in case of previous files
Thread initThread = new Thread(ProcessExpensifyUploadThread);
diff --git a/Site/Pages/v5/Financial/FileExpenseClaim.aspx.designer.cs b/Site/Pages/v5/Financial/FileExpenseClaim.aspx.designer.cs
index 1699fcd9..e128173c 100644
--- a/Site/Pages/v5/Financial/FileExpenseClaim.aspx.designer.cs
+++ b/Site/Pages/v5/Financial/FileExpenseClaim.aspx.designer.cs
@@ -265,13 +265,13 @@ namespace Swarmops.Frontend.Pages.v5.Financial {
protected global::System.Web.UI.WebControls.Label LabelExpensifyInstructions2;
///
- /// LabelUploadAnotherFileHeader control.
+ /// LabelExpensifyUploadAnotherHeader control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.Label LabelUploadAnotherFileHeader;
+ protected global::System.Web.UI.WebControls.Label LabelExpensifyUploadAnotherHeader;
///
/// UploadExpensify control.