From aaa9fce36a5be4794530c8b2d53e6ba7a2a42157 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Thu, 3 Dec 2015 22:00:02 +0100 Subject: [PATCH] Fixed a spurious iframe load --- .../Server/webroot/ngax/scripts/controllers/ExportController.js | 1 + Duplicati/Server/webroot/ngax/templates/export.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Duplicati/Server/webroot/ngax/scripts/controllers/ExportController.js b/Duplicati/Server/webroot/ngax/scripts/controllers/ExportController.js index 95a435d66..8ccb7bf4a 100644 --- a/Duplicati/Server/webroot/ngax/scripts/controllers/ExportController.js +++ b/Duplicati/Server/webroot/ngax/scripts/controllers/ExportController.js @@ -30,6 +30,7 @@ backupApp.controller('ExportController', function($scope, $routeParams, AppServi ); } else { $scope.DownloadURL = AppService.get_export_url($scope.BackupID, $scope.Passphrase); + document.getElementById('export-download-iframe').src = $scope.DownloadURL; $scope.Completed = true; } diff --git a/Duplicati/Server/webroot/ngax/templates/export.html b/Duplicati/Server/webroot/ngax/templates/export.html index 2f20ed81e..5b3d57e1c 100644 --- a/Duplicati/Server/webroot/ngax/templates/export.html +++ b/Duplicati/Server/webroot/ngax/templates/export.html @@ -52,5 +52,5 @@ - + \ No newline at end of file