Skip to content

Commit

Permalink
chore: remove manual collapsing of section (#28435)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8102e4a)
  • Loading branch information
ankush authored and mergify-bot committed Nov 18, 2021
1 parent a60c648 commit 1f6f311
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 1f6f311

Please sign in to comment.