folder might have gone
This commit is contained in:
parent
e497e7a7ac
commit
290afaf332
1 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue