forked from 0x2620/pandora
reset selected annotation on remove
This commit is contained in:
parent
2d771d2cbf
commit
b065e804dd
1 changed files with 1 additions and 0 deletions
|
@ -384,6 +384,7 @@ pandora.ui.item = function() {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
removeannotation: function(data) {
|
removeannotation: function(data) {
|
||||||
|
pandora.UI.set('videoPoints.' + pandora.user.ui.item + '.annotation', null);
|
||||||
pandora.api.removeAnnotation({
|
pandora.api.removeAnnotation({
|
||||||
id: data.id
|
id: data.id
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
|
|
Loading…
Reference in a new issue