From b065e804dd42c859f4b21c213dbbc1c726f7bebb Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 1 Feb 2012 22:31:03 +0000 Subject: [PATCH] reset selected annotation on remove --- static/js/pandora/item.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index 5e2249cf..44a0ba0c 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -384,6 +384,7 @@ pandora.ui.item = function() { ); }, removeannotation: function(data) { + pandora.UI.set('videoPoints.' + pandora.user.ui.item + '.annotation', null); pandora.api.removeAnnotation({ id: data.id }, function(result) {