Skip to content

Commit

Permalink
chore: remove manual collapsing of section (#28435)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush authored Nov 17, 2021
1 parent 4022052 commit 8102e4a
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 8102e4a

Please sign in to comment.