diff --git a/source/UI/js/Video/AnnotationPanel.js b/source/UI/js/Video/AnnotationPanel.js index 4e896767..cfe75a03 100644 --- a/source/UI/js/Video/AnnotationPanel.js +++ b/source/UI/js/Video/AnnotationPanel.js @@ -805,7 +805,10 @@ Ox.AnnotationPanel = function(options, self) { // called from editannotation callback // on the first update of a new annotation, the id will change self.options.selected = item.id; - getFolder(id).updateItem(id, item); + var $folder = getFolder(id); + if ($folder) { + $folder.updateItem(id, item); + } updateLanguages(); renderOptionsMenu(); renderEditMenu();