Merge branch 'develop' into pyproject-filt

This commit is contained in:
gavin 2022-06-15 10:48:26 +05:30 committed by GitHub
commit cfdde0cfff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -293,9 +293,6 @@ frappe.ui.form.Layout = class Layout {
// refresh sections
this.refresh_sections();
// refresh tabs
this.is_tabbed_layout() && this.refresh_tabs();
if (this.frm) {
// collapse sections
this.refresh_section_collapse();
@ -325,6 +322,9 @@ frappe.ui.form.Layout = class Layout {
section.addClass("empty-section");
}
});
// refresh tabs
this.is_tabbed_layout() && this.refresh_tabs();
}
refresh_tabs() {