From 0f82a696f3c32d3f35c2cf451d7c39c3605a89ff Mon Sep 17 00:00:00 2001 From: Taka Date: Tue, 29 Sep 2020 05:58:27 +0000 Subject: [PATCH] Close the downloads popup after the user has chosen to download a VSAV. --- vasl_templates/webapp/static/scenarios.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vasl_templates/webapp/static/scenarios.js b/vasl_templates/webapp/static/scenarios.js index e37fdcd..9a97450 100644 --- a/vasl_templates/webapp/static/scenarios.js +++ b/vasl_templates/webapp/static/scenarios.js @@ -980,6 +980,8 @@ function onDownloads() { } else { download( resp, fname, "application/octet-stream" ) ; } + // all done - we can now close the downloads popup + $dlg.dialog( "close" ) ; } ).fail( function( xhr, status, errorMsg ) { $progressDlg.dialog( "close" ) ; showErrorMsg( "Can't download the VASL scenario:
" + escapeHTML(errorMsg) + "
" ) ;