chg: [event:timeline] Prevent item selection while in the sighting

context
pull/5809/head
mokaddem 2020-04-23 10:18:34 +02:00
parent 93bd5eddba
commit 5034c1c798
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 2 additions and 0 deletions

View File

@ -472,7 +472,9 @@ function reload_timeline() {
return {id: id, content: itemIds[id]}
})
eventTimeline.setGroups(groups);
eventTimeline.setOptions({selectable: false});
} else {
eventTimeline.setOptions({selectable: true});
eventTimeline.setGroups([]);
}
},