fix: remove seemingly useless code

This commit is contained in:
barredterra 2022-12-08 17:00:46 +01:00
parent c8a196f768
commit 6069cde624

View file

@ -294,11 +294,6 @@ frappe.ui.form.PrintView = class {
setup_customize_dialog() {
let print_format = this.get_print_format();
$(document).on("new-print-format", (e) => {
this.refresh_print_options();
if (e.print_format) {
this.print_sel.val(e.print_format);
}
// start a new print format
frappe.prompt(
[
{