fix: hide print format builder after route change
This commit is contained in:
parent
f12b5c081b
commit
d4e6fea1ce
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ frappe.PrintFormatBuilder = class PrintFormatBuilder {
|
|||
this.show_start();
|
||||
} else {
|
||||
this.page.set_title(this.print_format.name);
|
||||
this.page.sidebar.toggle(true);
|
||||
this.setup_print_format();
|
||||
}
|
||||
}
|
||||
|
|
@ -65,6 +66,7 @@ frappe.PrintFormatBuilder = class PrintFormatBuilder {
|
|||
this.page.main.html(frappe.render_template("print_format_builder_start", {}));
|
||||
this.page.clear_actions();
|
||||
this.page.set_title(__("Print Format Builder"));
|
||||
this.page.sidebar.toggle(false);
|
||||
this.start_edit_print_format();
|
||||
this.start_new_print_format();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue