Commit 3b008401 authored by Thonier Florian's avatar Thonier Florian

clone.js; add a bypass if a clone haven't sequence

link to #3945 and #3960
parent 1763f59a
......@@ -316,7 +316,7 @@ Clone.prototype = {
* If it does not exist return null
*/
getSegStartStop: function(field_name) {
if (this.hasSeg(field_name) &&
if (this.sequence && this.hasSeg(field_name) &&
typeof this.seg[field_name].start !== 'undefined' &&
typeof this.seg[field_name].stop !== 'undefined') {
return {'start': this.seg[field_name].start,
......
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