reset selected annotation on remove

This commit is contained in:
j 2012-02-01 22:31:03 +00:00
parent 2d771d2cbf
commit b065e804dd

View file

@ -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) {