Nous avons procédé ce jeudi matin 08 avril 2021 à une MAJ de sécurité urgente. Nous sommes passé de la version 13.9.3 à la version 13.9.5 les releases notes correspondantes sont ici:
https://about.gitlab.com/releases/2021/03/17/security-release-gitlab-13-9-4-released/
https://about.gitlab.com/releases/2021/03/31/security-release-gitlab-13-10-1-released/

Commit 27669338 authored by marc duez's avatar marc duez Committed by Mathieu Giraud

aligner.js : updateElem() does not update all sequence already in segmenter if not requested

parent 3c8ec369
......@@ -405,10 +405,7 @@ Aligner.prototype = {
this.sequence_order.splice( this.sequence_order.indexOf(cloneID), 1 );
}
liDom = this.index[cloneID];
if (liDom == null)
continue;
else
if (liDom != null)
liDom.display("main", "none");
}
}
......@@ -416,13 +413,15 @@ Aligner.prototype = {
// update sequences already in segmenter
for (var k = 0; k < this.sequence_order.length; k++) {
cloneID = this.sequence_order[k];
list.splice( list.indexOf(cloneID), 1 );
liDom = this.index[cloneID];
if (liDom == null) continue;
liDom.display("main", "block");
liDom.replace("seq-fixed", this.build_spanF(cloneID));
liDom.content("seq-mobil", this.sequence[cloneID].toString());
if(list.indexOf(cloneID) != -1){
list.splice( list.indexOf(cloneID), 1 );
this.addToSegmenter(cloneID);
liDom.display("main", "block");
liDom.replace("seq-fixed", this.build_spanF(cloneID));
liDom.content("seq-mobil", this.sequence[cloneID].toString());
}
}
// add newly selected sequences
......@@ -432,8 +431,6 @@ Aligner.prototype = {
if (this.m.clone(cloneID).isSelected()) {
this.addToSegmenter(cloneID);
liDom = this.index[cloneID];
if (liDom == null) continue;
liDom.display("main", "block");
liDom.replace("seq-fixed", this.build_spanF(cloneID));
liDom.content("seq-mobil", this.sequence[cloneID].toString());
......
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