Fixed a spurious iframe load

This commit is contained in:
Kenneth Skovhede
2015-12-03 22:00:02 +01:00
parent c10159a448
commit aaa9fce36a
2 changed files with 2 additions and 1 deletions
@@ -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;
}
@@ -52,5 +52,5 @@
</form>
<iframe style="display:none" src="{{DownloadURL}}"></iframe>
<iframe style="display:none" id="export-download-iframe"></iframe>
</div>