commit | 17ac38ff29c931ddbdf9dc2dbe17b82557ce3ab5 | [log] [tgz] |
---|---|---|
author | Shreya Shah <shreyashah115@gmail.com> | Fri Oct 05 11:51:13 2018 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Fri Oct 05 11:51:13 2018 +0530 |
tree | c13d6e807e1ec3e8e8ed0a8aacca0275312bca30 | |
parent | 65652071ff7eb5a1f422fa69a12b9a4a12c54512 [diff] |
Enable save before saving to update form after save (#15579)
diff --git a/erpnext/healthcare/doctype/patient_appointment/patient_appointment.js b/erpnext/healthcare/doctype/patient_appointment/patient_appointment.js index a58516c..53184b2 100644 --- a/erpnext/healthcare/doctype/patient_appointment/patient_appointment.js +++ b/erpnext/healthcare/doctype/patient_appointment/patient_appointment.js
@@ -111,6 +111,7 @@ frm.set_value('appointment_time', selected_slot); frm.set_value('duration', data.time_per_appointment); d.hide(); + frm.enable_save(); frm.save(); } });