Commit 5331ba69 authored by Thonier Florian's avatar Thonier Florian

segmenter.js; update the first_clone when updating the semgenter

link to #2041
parent 58da0bbc
Pipeline #72072 failed with stages
in 25 seconds
......@@ -555,6 +555,8 @@ Segment.prototype = {
}
}
}
// faire l'update du first clone
this.update_first_clone()
this.updateAlignmentButton()
//this.updateSegmenterWithHighLighSelection();
......@@ -720,7 +722,12 @@ Segment.prototype = {
}
this.set_first_clone( cloneID )
return
} else if (previous_li.length != 0) {
// get first line from html content
var index_first_clone = Number( previous_li[0].id.substr(3) )
this.set_first_clone( index_first_clone )
}
},
......
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