Remove ng-click on output files, which was causing a double-request for download.

This commit is contained in:
Shane Kilkelly 2015-09-22 10:11:03 +01:00
parent 011f628de8
commit 30a63d1e42
2 changed files with 0 additions and 4 deletions

View file

@ -159,7 +159,6 @@ div.full-size.pdf(ng-controller="PdfController")
a(
href="/project/{{project_id}}/output/{{file.path}}"
target="_blank"
ng-click="openOutputFile(file)"
) {{ file.name }}
a.btn.btn-info.btn-sm(href, ng-click="toggleRawLog()")
span(ng-show="!pdf.showRawLog") #{translate("view_raw_logs")}

View file

@ -166,9 +166,6 @@ define [
$scope.toggleRawLog = () ->
$scope.pdf.showRawLog = !$scope.pdf.showRawLog
$scope.openOutputFile = (file) ->
window.open("/project/#{$scope.project_id}/output/#{file.path}")
$scope.openClearCacheModal = () ->
modalInstance = $modal.open(
templateUrl: "clearCacheModalTemplate"