fix a bug related to updating autocomplete words when removing an annotation

This commit is contained in:
rlx 2012-02-01 22:14:22 +00:00
parent 1eaf240970
commit bec434a353

View file

@ -656,8 +656,8 @@ Ox.VideoEditor = function(options, self) {
Ox.print('REMOVE EVENT REACHED EDITOR', data)
var layer = Ox.getObjectById(self.options.layers, data.layer),
index = Ox.getIndexById(layer.items, data.id);
layer.items.splice(index, 1);
updateWords('remove');
layer.items.splice(index, 1);
self.editing = false;
self.options.selected = '';
setTimelineState();