Skip to content

Commit

Permalink
fix: open PDF in new tab
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
  • Loading branch information
akhilnarang committed Mar 13, 2024
1 parent bf6cb1a commit 5d0db0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/list/bulk_operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default class BulkOperations {
frappe.realtime.task_subscribe(task_id);
frappe.realtime.on(`task_progress:${task_id}`, (data) => {
frappe.msgprint(
`Please click <a href=${data.file_url}>here</a> to download the PDF`
`Please click <a href=${data.file_url} target="_blank">here</a> to download the PDF`
);
});

Expand Down

0 comments on commit 5d0db0c

Please sign in to comment.