Commit b17c698c authored by Mathieu Courcelles's avatar Mathieu Courcelles

Fixes MSMS viewer for Intra-peptide cross-link (Issue #25)

parent 5c594bbd
Pipeline #14975688 passed with stage
in 1 minute and 9 seconds
......@@ -234,7 +234,7 @@ Peptide score: {{ clpeptide.match_score|floatformat:2 }}
<td>
<div id="pd0A1">2nd Pep <input name="ispep2"
type="checkbox"
id="ispep2" {% if clpeptide.link_type == 'Intra-peptide' %}disabled readonly{% endif %}>
id="ispep2">
</div>
</td>
<td>
......@@ -677,6 +677,13 @@ function doZoomExact(){
run();
psShowCheck(2);
{% if clpeptide.link_type == 'Intra-peptide' %}
if(document.getElementById("ispep2").checked){
document.getElementById("ispep2").checked = false;
}
{% endif %}
peptidetableTabs(2);
doParseSpec();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment