From ec29324c8bfa3ed756c9cfa8f2225460ae710bb7 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sun, 1 Oct 2017 18:51:08 +0200 Subject: [PATCH] Also restore the main area --- Site/Controls/v5/Base/FileUpload.ascx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Site/Controls/v5/Base/FileUpload.ascx b/Site/Controls/v5/Base/FileUpload.ascx index fdc1d11f..e640ca4e 100644 --- a/Site/Controls/v5/Base/FileUpload.ascx +++ b/Site/Controls/v5/Base/FileUpload.ascx @@ -37,7 +37,10 @@ $('#<%=this.ClientID %>_DivProgressUpload').progressbar({ value: 100 }); if (pdfConversionNeeded) { $('#<%=this.ClientID %>_DivProgressPdfConversion').progressbar({ value: 1 }); - $('#<%=this.ClientID %>_DivMainControlArea').fadeOut('400', function () { $('#<%=this.ClientID %>_DivPdfConverting').fadeIn(); }); + $('#<%=this.ClientID %>_DivMainControlArea').fadeOut('400', function() { + $('#<%=this.ClientID %>_DivPdfConverting').fadeIn(); + $('#<%=this.ClientID %>_DivProgressUpload').fadeOut('400', function() { $('#<%=this.ClientID %>_DivUploadCount').fadeIn(); }); + }); // Conversion progress will be sent through the socket, sent to our function by the master page