Browse Source

Fix form reset

pull/1/head
Wahyu Ramadhan 2 years ago
parent
commit
5e26bc501f
  1. 1
      edit-mode/function/reportActivity.js

1
edit-mode/function/reportActivity.js

@ -16,6 +16,7 @@ function resetFormAddRa() {
function resetFormAddRaMaterial() { function resetFormAddRaMaterial() {
$("#id_ra_material").val(""); $("#id_ra_material").val("");
$("#select_ra_hr_material").empty().trigger('change');
$('#form_report_activity_material').trigger("reset"); $('#form_report_activity_material').trigger("reset");
$('#btn_add_ra_material').html('Add'); $('#btn_add_ra_material').html('Add');
$('#btn_add_ra_material').prop("disabled", false); $('#btn_add_ra_material').prop("disabled", false);

Loading…
Cancel
Save