Skip to content

Commit

Permalink
PDF download route renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
JasminBektic authored Dec 13, 2023
1 parent 70b7474 commit c0eb381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/document/printpages/pdf_preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pimcore.document.printpages.pdfpreview = Class.create({
style: "float: right; margin-top: 10px",
handler: function () {
var date = new Date();
var url = Routing.generate('pimcore_bundle_document_printpage_pdfdownload', {id: this.page.id, download: 1, time: date.getTime()});
var url = Routing.generate('pimcore_bundle_web2print_document_printpage_pdfdownload', {id: this.page.id, download: 1, time: date.getTime()});
pimcore.helpers.download(url);
}.bind(this)
});
Expand Down

0 comments on commit c0eb381

Please sign in to comment.