Skip to content

Commit

Permalink
chore: remove manual collapsing of section (frappe#28435)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush authored and conncampbell committed Jan 9, 2022
1 parent eeee6f4 commit 093550a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions erpnext/manufacturing/doctype/job_card/job_card.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ frappe.ui.form.on('Job Card', {
);
},

onload: function(frm) {
if (frm.doc.scrap_items.length == 0) {
frm.fields_dict['scrap_items_section'].collapse();
}
},

refresh: function(frm) {
frappe.flags.pause_job = 0;
frappe.flags.resume_job = 0;
Expand Down

0 comments on commit 093550a

Please sign in to comment.