Fixed a spurious iframe load
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user