don't trigger edit annotation event with temporary id (fixes #369)
This commit is contained in:
parent
353fce1f14
commit
8d7d1fdf36
1 changed files with 8 additions and 6 deletions
|
@ -1049,12 +1049,14 @@ Ox.VideoEditor = function(options, self) {
|
||||||
'in': self.options['in'],
|
'in': self.options['in'],
|
||||||
out: self.options.out
|
out: self.options.out
|
||||||
});
|
});
|
||||||
self.editing && that.triggerEvent('editannotation', {
|
if (self.editing && self.options.selected[0] != '_') {
|
||||||
id: self.options.selected,
|
that.triggerEvent('editannotation', {
|
||||||
'in': self.options['in'],
|
id: self.options.selected,
|
||||||
out: self.options.out,
|
'in': self.options['in'],
|
||||||
value: $('.OxEditableElement input:visible').val()
|
out: self.options.out,
|
||||||
});
|
value: $('.OxEditableElement input:visible').val()
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue