only set annotation if it exists
This commit is contained in:
parent
3cf3ba5c6f
commit
d0d1feca18
1 changed files with 3 additions and 1 deletions
|
|
@ -222,7 +222,9 @@ pandora.ui.editor = function(data) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
that.updateAnnotation(data.id, result.data);
|
that.updateAnnotation(data.id, result.data);
|
||||||
|
if (result.data.id) {
|
||||||
pandora.UI.set('videoPoints.' + ui.item + '.annotation', result.data.id.split('/')[1] || '');
|
pandora.UI.set('videoPoints.' + ui.item + '.annotation', result.data.id.split('/')[1] || '');
|
||||||
|
}
|
||||||
Ox.Request.clearCache();
|
Ox.Request.clearCache();
|
||||||
};
|
};
|
||||||
var edit = {
|
var edit = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue