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 || ''});
|
that.triggerEvent('add', {value: data.value || ''});
|
||||||
},
|
},
|
||||||
blur: function() {
|
blur: function(data) {
|
||||||
// the video editor will, if it has not received focus,
|
if (data.id[0] == '_') {
|
||||||
// call blurItem
|
changeAnnotation(data);
|
||||||
that.triggerEvent('blur');
|
} else {
|
||||||
|
// the video editor will, if it has not received focus,
|
||||||
|
// call blurItem
|
||||||
|
that.triggerEvent('blur');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
change: changeAnnotation,
|
change: changeAnnotation,
|
||||||
'delete': removeAnnotation,
|
'delete': removeAnnotation,
|
||||||
|
|
Loading…
Reference in a new issue