Skip to content

Commit

Permalink
PDF-esikatselut eivät enää avaa uuteen ikkunaan pdf-ää vaan sen sijaa…
Browse files Browse the repository at this point in the history
…n uuteen välilehteen.

Ongelmaksi tuli popup-estot ja uuden ikkunan pieni koko oli myös häiritsevä.
Poistettu target _blank.
  • Loading branch information
hkorpi committed Jun 15, 2015
1 parent 4921a65 commit 80d26de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scripts/controllers/kasittelija/paatos.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ angular.module('jukufrontApp')
if ($scope.hakemusTarkastettu()) {
$scope.tallennaPaatos(1);
} else {
$window.open('api/hakemus/' + $scope.hakemusid + '/paatos/pdf', 'target', '_blank');
$window.open('api/hakemus/' + $scope.hakemusid + '/paatos/pdf');
}
};

Expand Down
2 changes: 1 addition & 1 deletion app/scripts/controllers/yhteinen/hakemus.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ angular.module('jukufrontApp')
if (tila == 'K' || tila == 'T0') {
$scope.tallennaHakemus(1);
} else {
$window.open('api/hakemus/' + $scope.hakemusid + '/pdf', 'target', '_blank');
$window.open('api/hakemus/' + $scope.hakemusid + '/pdf');
}
};

Expand Down

0 comments on commit 80d26de

Please sign in to comment.