Skip to content

Commit

Permalink
Solve conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: felix.gateru <[email protected]>
  • Loading branch information
felixgateru committed Mar 4, 2024
1 parent 0840b1c commit af3e516
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/web/templates/charts/multiplelinechartmodal.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@ <h5 class="modal-title" id="multipleLineChartModalLabel">Time series line charts
.getElementById("create-multipleLineChart-button")
.addEventListener("click", function () {
let form = document.getElementById("create-multipleLineChart-form");
if (!form.checkValidity()) {
form.classList.add("was-validated");
return;
}

// Create an object to store the form data
let chartData = {};
let formData = new FormData(form);
Expand Down
5 changes: 5 additions & 0 deletions ui/web/templates/charts/stackedlinechartmodal.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@ <h5 class="modal-title" id="stackedLineChartModalLabel">Stacked Line Charts</h5>
.getElementById("create-stackedLineChart-button")
.addEventListener("click", function () {
let form = document.getElementById("create-stackedLineChart-form");
if (!form.checkValidity()) {
form.classList.add("was-validated");
return;
}

// Create an object to store the form data
let chartData = {};
let formData = new FormData(form);
Expand Down

0 comments on commit af3e516

Please sign in to comment.