Skip to content

Commit

Permalink
Fit data button update -> Confirm and Fit Data
Browse files Browse the repository at this point in the history
  • Loading branch information
lrdossan committed Aug 30, 2024
1 parent 7918779 commit e98d5f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion caimira/apps/calculator/static/js/co2_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ function displayFittingData(json_response) {

$("#disable_fitting_algorithm").prop("disabled", false);
$("#ventilation_rate_fit").html(ventilation_table);
$("#generate_fitting_data").html("Fit data");
$("#generate_fitting_data").html("Confirm and Fit data");
$("#generate_fitting_data").hide();
$("#save_and_dismiss_dialog").show();
}
Expand Down
2 changes: 1 addition & 1 deletion caimira/apps/templates/base/calculator.form.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
</div>
<div class="modal-footer">
<button type="button" id="disable_fitting_algorithm" class="btn btn-secondary dismiss_btn_frm_field" data-dismiss="modal" onclick="disableFittingAlgorithm()">Discard</button>
<button type="button" id="generate_fitting_data" class="btn btn-primary close_btn_frm_field" onclick="submitFittingAlgorithm('{{ get_calculator_url() }}/co2-fit/')" disabled>Fit data</button>
<button type="button" id="generate_fitting_data" class="btn btn-primary close_btn_frm_field" onclick="submitFittingAlgorithm('{{ get_calculator_url() }}/co2-fit/')" disabled>Confirm and Fit data</button>
<button type="button" style="display: none" id="save_and_dismiss_dialog" class="btn btn-primary close_btn_frm_field" data-dismiss="modal">Use fit data</button>
</div>
</div>
Expand Down

0 comments on commit e98d5f6

Please sign in to comment.