trigger change event for new annotations on blur
This commit is contained in:
parent
63501ebe96
commit
56cbb3b90c
1 changed files with 8 additions and 4 deletions
|
@ -318,10 +318,14 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
}
|
||||
that.triggerEvent('add', {value: data.value || ''});
|
||||
},
|
||||
blur: function() {
|
||||
// the video editor will, if it has not received focus,
|
||||
// call blurItem
|
||||
that.triggerEvent('blur');
|
||||
blur: function(data) {
|
||||
if (data.id[0] == '_') {
|
||||
changeAnnotation(data);
|
||||
} else {
|
||||
// the video editor will, if it has not received focus,
|
||||
// call blurItem
|
||||
that.triggerEvent('blur');
|
||||
}
|
||||
},
|
||||
change: changeAnnotation,
|
||||
'delete': removeAnnotation,
|
||||
|
|
Loading…
Reference in a new issue