mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
Enable save before saving to update form after save (#15579)
This commit is contained in:
committed by
Rushabh Mehta
parent
65652071ff
commit
17ac38ff29
@@ -111,6 +111,7 @@ frappe.ui.form.on('Patient Appointment', {
|
|||||||
frm.set_value('appointment_time', selected_slot);
|
frm.set_value('appointment_time', selected_slot);
|
||||||
frm.set_value('duration', data.time_per_appointment);
|
frm.set_value('duration', data.time_per_appointment);
|
||||||
d.hide();
|
d.hide();
|
||||||
|
frm.enable_save();
|
||||||
frm.save();
|
frm.save();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user