avoid error on blur
This commit is contained in:
parent
290afaf332
commit
396fac63c0
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ Ox.AnnotationFolder = function(options, self) {
|
||||||
that.triggerEvent('add', {value: data.value || ''});
|
that.triggerEvent('add', {value: data.value || ''});
|
||||||
},
|
},
|
||||||
blur: function(data) {
|
blur: function(data) {
|
||||||
if (data && data.id[0] == '_') {
|
if (data && data.id && data.id[0] == '_') {
|
||||||
changeAnnotation(data);
|
changeAnnotation(data);
|
||||||
that.triggerEvent('blur');
|
that.triggerEvent('blur');
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue