Close the downloads popup after the user has chosen to download a VSAV.

master
Pacman Ghost 4 years ago
parent af8634cc83
commit 0f82a696f3
  1. 2
      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:<div class='pre'>" + escapeHTML(errorMsg) + "</div>" ) ;

Loading…
Cancel
Save