Skip to content

Commit

Permalink
Do not hard-code link
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiara Rasi committed Sep 27, 2024
1 parent bc2e9c7 commit 2817b0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chanjo2/templates/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


{% macro incompletely_covered_intervals(active_level) %}
<form id="geneStatsForm" action="{{url_for('overview')}}" method="post">
<form id="geneStatsForm" action="{{url_for('gene_overview')}}" method="post">
<input type="hidden" name="build" value="{{extras.build}}"/>
<input type="hidden" name="default_level" id="defaultLevel" value="{{extras.default_level}}"/>
<input type="hidden" name="completeness_thresholds" value="{{extras.completeness_thresholds|join(',')}}"/>
Expand Down Expand Up @@ -108,6 +108,7 @@ <h4>Incomplete {{ extras.interval_type }}</h4>
function updateOverview(customLevel)
{
document.getElementById("defaultLevel").value = customLevel;
theForm.action = '{{url_for("overview")}}';
theForm.submit();
}

Expand Down

0 comments on commit 2817b0a

Please sign in to comment.